Solution.Framework.Notifier 7.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Solution.Framework.Notifier --version 7.0.1                
NuGet\Install-Package Solution.Framework.Notifier -Version 7.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Solution.Framework.Notifier" Version="7.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Solution.Framework.Notifier --version 7.0.1                
#r "nuget: Solution.Framework.Notifier, 7.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Solution.Framework.Notifier as a Cake Addin
#addin nuget:?package=Solution.Framework.Notifier&version=7.0.1

// Install Solution.Framework.Notifier as a Cake Tool
#tool nuget:?package=Solution.Framework.Notifier&version=7.0.1                

Notifier Nuget

Notification Framework.

Notifications Type

  • Debug
  • Information
  • Error

Syntax AddNotification

Method to add notifications

NotifierClass.AddNotification("<message>", "<contextName>", "<eventName>", "<key>", <notificationType>);
Parameter Required Default Value Description
message True 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 True notification exception
contextName No Null notification context
eventName No Null notification event
key No Null notification key
notificationType No Error notification type

Syntax AddNotifications

Method to add notifications list

NotifierClass.AddNotifications(<notifications>);
Parameter Required Default Value Description
notifications True notification list
NotifierClass.AddNotifications(<validationResult>, "<contextName>", "<eventName>", "<key>", <notificationType>);
Parameter Required Default Value Description
validationResult True 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

Syntax GetMessage

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

Syntax GetMessages

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

Syntax GetNotifications

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

Syntax HasNotifications

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

Syntax NewException

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

Syntax RemoveNotifications

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

Syntax GetNotificationTypeEnum

Method to get notification type enum

NotifierClass.GetNotificationTypeEnum("<notificationType>");
Parameter Required Default Value Description
notificationType Yes notification type
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Solution.Framework.Notifier:

Package Downloads
Solution.Framework.Repository

Repository Framework

Solution.Framework.Http

Http Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.1 128 3/12/2024
8.0.0 122 2/15/2024
7.0.3 279 9/23/2023
7.0.2 160 9/16/2023
7.0.1 128 9/8/2023
7.0.0 136 9/8/2023