Skip to main content
.NET Framework 4.5.2+

NotificationsService Members

A service used by the NotificationsModule to process the notifications.

Constructors

Name Description
NotificationsService(DefaultNotificationsProvider) Initializes a new instance of the NotificationsService class.
NotificationsService(XafApplication, DefaultNotificationsProvider) Obsolete. Initializes a new instance of the NotificationsService class.

Properties

Name Description
NotificationsProviders Gets a list of registered Notifications Providers.

Methods

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.

Events

Name Description
ItemsProcessed Occurs when an ISupportNotifications object is changed.
NotificationsChanged For internal use.
NotificationTriggered Occurs when there are notifications to display.
See Also