{"id":24167512,"url":"https://github.com/i-rzr-i/aggregatedgenericresultmessage","last_synced_at":"2025-09-20T11:32:44.595Z","repository":{"id":44403059,"uuid":"512440828","full_name":"I-RzR-I/AggregatedGenericResultMessage","owner":"I-RzR-I","description":"This repository can help you to aggregate all results from an API or method in one. So as a result of this, you will have control over all responses given to the caller.","archived":false,"fork":false,"pushed_at":"2024-12-24T11:12:43.000Z","size":866,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-24T11:43:27.655Z","etag":null,"topics":["api","error","framework","info","message","net","response","result","resultmessage","returnmessage","service","soap"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/I-RzR-I.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-07-10T13:22:37.000Z","updated_at":"2024-12-24T11:12:29.000Z","dependencies_parsed_at":"2024-01-19T01:00:11.481Z","dependency_job_id":null,"html_url":"https://github.com/I-RzR-I/AggregatedGenericResultMessage","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"a2899120118f505979fcaaee6157334a93f08277"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FAggregatedGenericResultMessage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FAggregatedGenericResultMessage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FAggregatedGenericResultMessage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FAggregatedGenericResultMessage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/I-RzR-I","download_url":"https://codeload.github.com/I-RzR-I/AggregatedGenericResultMessage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233660091,"owners_count":18710026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","error","framework","info","message","net","response","result","resultmessage","returnmessage","service","soap"],"created_at":"2025-01-12T21:13:56.412Z","updated_at":"2025-09-20T11:32:38.976Z","avatar_url":"https://github.com/I-RzR-I.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **Note** This repository is developed in .netstandard2+ with support for SOAP service results mainly used in the .net framework (current support 4.5, 4.6.1 - 4.8)\n\n[![NuGet Version](https://img.shields.io/nuget/v/AggregatedGenericResultMessage.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/AggregatedGenericResultMessage/)\n[![Nuget Downloads](https://img.shields.io/nuget/dt/AggregatedGenericResultMessage.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/AggregatedGenericResultMessage)\n\nThe goal of this repository is to offer the possibility to manage and agree on the answers received as a result of the execution of a method or a process.\n\nIn other words, it offers the possibility to use a single(general) response, structured and easier parsed model for the executed methods.\nAs a result, you can have control over the messages and types of messages that will be obtained.\n\nBy currently following, 6 general types of messages (`Info`, `Warning`, `Error`, `NotFound`, `AccessDenied`, `Exception`) are implemented that can be returned to the caller.\nAs you can see in the `MessageType` enum, there are 9 types of messages, for all 3 (`Info`, `Warning`, `Error`) types previously specified exists with new ends `Confirm`. The idea of all of them is to inform UI (or caller) that returned message will be parsed/used as a dialog box/popup/modal.\n\nFor more flexible and intuitive use, in solution persist extension method like fluent access to set message, error, etc (`WithMessage`, `WithKeyCode`, `WithCodeMessage`, `WithError`, `WithErrors`). In some cases when you may have the necessity to add in the result additional information like the link between the code execution method and data store name: stored procedure, function or table, etc; in code/result is defined object `RelatedObject` where this information can be stored and returned to the caller.\n\nFor more efficiently using, when in some cases when you may need to execute some custom actions/functions after a successful or failed execution request. In that case was added extension methods (`ActionOnSuccess`, `ActionOnFailure`, `ActionOn`, `ExecuteAction`, `FunctionOnSuccess`, `FunctionOnFailure`, `FunctionOn`, `ExecuteFunction`) which allow you to execute this action/function like insert log when execution has a status equal to failure.\n\nNo additional components or packs are required for use. So, it only needs to be added/installed in the project and can be used instantly.\n\n**In case you wish to use it in your project, u can install the package from \u003ca href=\"https://www.nuget.org/packages/AggregatedGenericResultMessage\" target=\"_blank\"\u003enuget.org\u003c/a\u003e** or specify what version you want:\n\n\u003e `Install-Package AggregatedGenericResultMessage -Version x.x.x.x`\n\n## Content\n1. [USING](docs/usage.md)\n1. [CHANGELOG](docs/CHANGELOG.md)\n1. [BRANCH-GUIDE](docs/branch-guide.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-rzr-i%2Faggregatedgenericresultmessage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-rzr-i%2Faggregatedgenericresultmessage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-rzr-i%2Faggregatedgenericresultmessage/lists"}