AggregatedGenericResultMessage 1.3.5.4696
dotnet add package AggregatedGenericResultMessage --version 1.3.5.4696
NuGet\Install-Package AggregatedGenericResultMessage -Version 1.3.5.4696
<PackageReference Include="AggregatedGenericResultMessage" Version="1.3.5.4696" />
paket add AggregatedGenericResultMessage --version 1.3.5.4696
#r "nuget: AggregatedGenericResultMessage, 1.3.5.4696"
// Install AggregatedGenericResultMessage as a Cake Addin #addin nuget:?package=AggregatedGenericResultMessage&version=1.3.5.4696 // Install AggregatedGenericResultMessage as a Cake Tool #tool nuget:?package=AggregatedGenericResultMessage&version=1.3.5.4696
The 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.
In other words, it offers the possibility to use a single(general) response, structured and easier parsed model for the executed methods. As a result, you can have control over the messages and types of messages that will be obtained.
By currently following, 6 general types of messages (Info
, Warning
, Error
, NotFound
, AccessDenied
, Exception
) are implemented that can be returned to the caller.
As 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.
For 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.
For 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.
No additional components or packs are required for use. So, it only needs to be added/installed in the project and can be used instantly.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
-
.NETFramework 4.6.1
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
-
.NETFramework 4.6.2
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
-
.NETFramework 4.7
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
-
.NETFramework 4.7.1
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
-
.NETFramework 4.7.2
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
-
.NETFramework 4.8
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
-
.NETStandard 2.0
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
- System.Text.Json (>= 6.0.10)
-
.NETStandard 2.1
- CodeSource (>= 2.0.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
- System.Text.Json (>= 6.0.10)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on AggregatedGenericResultMessage:
Package | Downloads |
---|---|
MSignHelperDotNet
A wrapper for governmental signing service for a quick way to implement it with a few configuration settings. Service is provided by an e-governance agency (https://egov.md/), named `MSign`, available in the Republic of Moldova. |
|
AggregatedGenericResultMessage.Web
This library is an aggregate of some extensions to use more comfortable `Result lib`. In other words, transform from `Result` to `IActionResult`. |
|
SoapClientCallAssist
Provides a more easy way to implement and invoke SOAP(1.1, 1.2) service(`WCF`, `ASMX`) endpoints avoiding dependency on the `WSDL` definition and build requests with minimum required info (basic definition: `Action`, `XML`, `HTTP method`, etc). |
|
MConnectHelperDotNet
A wrapper for governmental interoperability service for a quick way to implement it with a few configuration settings. Service is provided by an e-governance agency (https://egov.md/), named `MConnect`, available in the Republic of Moldova. |
|
PagedListResult.Common
An extension based on `netstandard 2.0` with query properties filter and query source filter by text, order filter, and X top record. Property filters are based on `Expression` with multiple types of filters. This library is used in `PagedListResult` as core execution. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.5.4696 | 39 | 12/24/2024 |
1.3.4.6865 | 937 | 10/9/2024 |
1.3.3.6068 | 614 | 2/1/2024 |
1.3.2.469 | 128 | 1/18/2024 |
1.3.1.6141 | 381 | 12/12/2023 |
1.2.2.2040 | 275 | 10/10/2023 |
1.2.1 | 299 | 8/2/2023 |
1.2.0 | 898 | 6/7/2023 |
1.1.1.2048 | 723 | 4/2/2023 |
1.1.0 | 1,109 | 2/3/2023 |
1.0.6.1706 | 905 | 1/14/2023 |
1.0.5.1813 | 329 | 1/10/2023 |
1.0.4.1314 | 318 | 12/29/2022 |
1.0.3.1903 | 306 | 12/22/2022 |
1.0.3.1836 | 451 | 10/13/2022 |
1.0.2.946 | 431 | 9/4/2022 |
1.0.1.1731 | 444 | 8/5/2022 |
1.0.0.2005 | 487 | 7/10/2022 |
1.0.0 | 539 | 7/10/2022 |