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 User
Declaration
public Notifier(IBackOfficeSecurityAccessor backOfficeSecurityAccessor, IHostingEnvironment hostingEnvironment, INotificationService notificationService, IUserService userService, ILocalizedTextService textService, IOptionsMonitor<GlobalSettings> globalSettings, ILogger<UserNotificationsHandler.Notifier> logger)
Parameters
Type | Name | Description |
---|---|---|
IBack |
backOfficeSecurityAccessor | |
IHosting |
hostingEnvironment | |
INotification |
notificationService | |
IUser |
userService | |
ILocalized |
textService | |
IOptions |
globalSettings | |
ILogger<User |
logger |
Methods
View SourceNotify(IAction, IContent[])
Declaration
public void Notify(IAction action, params IContent[] entities)