Skip to main content
.NET 6.0+

NotificationsService Methods

A service used by the NotificationsModule to process the notifications.
Name Description
Dismiss(IEnumerable<INotificationItem>) Removes the specified notification items.
Dispose() Releases all resources used by an NotificationsService object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetActiveNotificationsCount() Returns the number of active notifications.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetNotificationItems()
GetPostponedNotificationsCount() Returns the number of postponed notifications.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnNotificationTriggered(IList<INotificationItem>)
Postpone(IEnumerable<INotificationItem>, TimeSpan) Postpones the specified notification items for the given amount of time.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Refresh() Refreshes the list of active notifications.
RefreshNotifications() For internal use.
RegisterNotificationsProvider(INotificationsProvider) Registers the specified Notifications Provider
SetItemChanged(INotificationItem) For internal use.
ToString() Returns a string that represents the current object. Inherited from Object.
UnregisterNotificationsProvider(INotificationsProvider) Unregisters the specified Notifications Provider
UpdateDefaultNotificationsProvider(DefaultNotificationsProvider) Recreates the DefaultNotificationsProvider.
See Also