VOOZH about

URL: https://www.nuget.org/packages/Solution.Framework.Notifier/

⇱ NuGet Gallery | Solution.Framework.Notifier 8.0.1




Solution.Framework.Notifier 8.0.1

dotnet add package Solution.Framework.Notifier --version 8.0.1
 
 
NuGet\Install-Package Solution.Framework.Notifier -Version 8.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="8.0.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Solution.Framework.Notifier" Version="8.0.1" />
 
Directory.Packages.props
<PackageReference Include="Solution.Framework.Notifier" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Solution.Framework.Notifier --version 8.0.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Solution.Framework.Notifier, 8.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.
#:package Solution.Framework.Notifier@8.0.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Solution.Framework.Notifier&version=8.0.1
 
Install as a Cake Addin
#tool nuget:?package=Solution.Framework.Notifier&version=8.0.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 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

Syntax AddNotifications

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

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 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. 
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 287 3/12/2024
8.0.0 271 2/15/2024
7.0.3 458 9/23/2023
7.0.2 278 9/16/2023
7.0.1 231 9/8/2023
7.0.0 249 9/8/2023