Class UserNotificationsHandler.Notifier
This class is used to send the notifications
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public sealed class Notifier
Constructors
View SourceNotifier(IBackOfficeSecurityAccessor, IHostingEnvironment, INotificationService, IUserService, ILocalizedTextService, IOptionsMonitor<GlobalSettings>, ILogger<UserNotificationsHandler.Notifier>)
Initializes a new instance of the UserNotificationsHandler.Notifier class.
Declaration
public Notifier(IBackOfficeSecurityAccessor backOfficeSecurityAccessor, IHostingEnvironment hostingEnvironment, INotificationService notificationService, IUserService userService, ILocalizedTextService textService, IOptionsMonitor<GlobalSettings> globalSettings, ILogger<UserNotificationsHandler.Notifier> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| IBackOfficeSecurityAccessor | backOfficeSecurityAccessor | |
| IHostingEnvironment | hostingEnvironment | |
| INotificationService | notificationService | |
| IUserService | userService | |
| ILocalizedTextService | textService | |
| IOptionsMonitor<GlobalSettings> | globalSettings | |
| ILogger<UserNotificationsHandler.Notifier> | logger |
Methods
View SourceNotify(IAction, IContent[])
Declaration
public void Notify(IAction action, params IContent[] entities)
Parameters
| Type | Name | Description |
|---|---|---|
| IAction | action | |
| IContent[] | entities |