public interface INotificationService : IService
Methods View Source CreateNotification(IUser, IEntity, String)
Creates a new notification
DeclarationNotification CreateNotification(IUser user, IEntity entity, string action)
Parameters Type Name Description IUser user IEntity entity System.String action
The action letter - note: this is a string for future compatibility
Returns View Source DeleteNotifications(IEntity)Deletes notifications by entity
Declarationvoid DeleteNotifications(IEntity entity)
Parameters Type Name Description IEntity entity View Source DeleteNotifications(IUser)
Deletes notifications by user
Declarationvoid DeleteNotifications(IUser user)
Parameters Type Name Description IUser user View Source DeleteNotifications(IUser, IEntity)
Delete notifications by user and entity
Declarationvoid DeleteNotifications(IUser user, IEntity entity)
Parameters View Source GetEntityNotifications(IEntity)
Returns the notifications for an entity
DeclarationIEnumerable<Notification>? GetEntityNotifications(IEntity entity)
Parameters Type Name Description IEntity entity Returns View Source GetUserNotifications(IUser)
Gets the notifications for the user
DeclarationIEnumerable<Notification>? GetUserNotifications(IUser user)
Parameters Type Name Description IUser user Returns View Source GetUserNotifications(IUser, String)
Gets the notifications for the user based on the specified node path
DeclarationIEnumerable<Notification>? GetUserNotifications(IUser user, string path)
Parameters Type Name Description IUser user System.String path Returns View Source SendNotifications(IUser, IEnumerable<IContent>, String, String, Uri, Func<(IUser user, NotificationEmailSubjectParams subject), String>, Func<(IUser user, NotificationEmailBodyParams body, Boolean isHtml), String>)
Sends the notifications for the specified user regarding the specified nodes and action.
Declarationvoid SendNotifications(IUser operatingUser, IEnumerable<IContent> entities, string action, string actionName, Uri siteUri, Func<(IUser user, NotificationEmailSubjectParams subject), string> createSubject, Func<(IUser user, NotificationEmailBodyParams body, bool isHtml), string> createBody)
Parameters View Source SetNotifications(IUser, IEntity, String[])
Sets the specific notifications for the user and entity
DeclarationIEnumerable<Notification>? SetNotifications(IUser user, IEntity entity, string[] actions)
Parameters Type Name Description IUser user IEntity entity System.String[] actions Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4