![]() |
VOOZH | about |
dotnet add package Solution.Framework.Notifier --version 8.0.1
NuGet\Install-Package Solution.Framework.Notifier -Version 8.0.1
<PackageReference Include="Solution.Framework.Notifier" Version="8.0.1" />
<PackageVersion Include="Solution.Framework.Notifier" Version="8.0.1" />Directory.Packages.props
<PackageReference Include="Solution.Framework.Notifier" />Project file
paket add Solution.Framework.Notifier --version 8.0.1
#r "nuget: Solution.Framework.Notifier, 8.0.1"
#:package Solution.Framework.Notifier@8.0.1
#addin nuget:?package=Solution.Framework.Notifier&version=8.0.1Install as a Cake Addin
#tool nuget:?package=Solution.Framework.Notifier&version=8.0.1Install as a Cake Tool
Notification Framework.
Method to add notifications
NotifierClass.AddNotification("<message>", "<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| message | Yes | notification message | |
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Error | notification type |
NotifierClass.AddNotification(<exception>, "<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| exception | Yes | notification exception | |
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Error | notification type |
Method to add notifications list
NotifierClass.AddNotifications(<notifications>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| notifications | Yes | notification list |
NotifierClass.AddNotifications(<validationResult>, "<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| validationResult | Yes | FluentValidation.AspNetCore framework validation result | |
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Error | notification type |
Method to get notification message, returning string
NotifierClass.GetMessage("<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Null | notification type |
Method to get notification message, returning IQueryable string
NotifierClass.GetMessages("<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Null | notification type |
Method to get notifications, returning IQueryable Notification
NotifierClass.GetNotifications("<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Null | notification type |
Method to return true or false if exists notifications
NotifierClass.HasNotifications("<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Null | notification type |
Method to return Exception if exists notifications type "Error"
NotifierClass.HasNotifications("<contextName>", "<eventName>", "<key>");
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
Method to remove notifications
NotifierClass.RemoveNotifications("<contextName>", "<eventName>", "<key>", <notificationType>);
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| contextName | No | Null | notification context |
| eventName | No | Null | notification event |
| key | No | Null | notification key |
| notificationType | No | Null | notification type |
Method to get notification type enum
NotifierClass.GetNotificationTypeEnum("<notificationType>");
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| notificationType | Yes | notification type |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on Solution.Framework.Notifier:
| Package | Downloads |
|---|---|
|
Solution.Framework.Repository
Repository Framework |
|
|
Solution.Framework.Http
Http Framework |
This package is not used by any popular GitHub repositories.