Notifications Service and Notifications Providers
This topic describes the internal infrastructure of the Notifications Module and explains how to customize its default behavior.
NotificationsService is an object that the NotificationsModule uses to process notifications. To access the service, use the module’s NotificationsModule.NotificationsService property.
Notifications Providers collect notifications from ISupportNotifications business objects. The following built-in Notification Providers are available:
Platform | Provider | Description |
---|---|---|
ASP.NET Core Blazor | DevExpress.ExpressApp.Scheduler.Blazor.Notifications.SchedulerNotificationsProvider |
Collects notifications from Scheduler events. Implemented in the Scheduler Module. |
Windows Forms & ASP.NET Web Forms | NotificationsProvider | Collects notifications from Scheduler events. Implemented in the Scheduler Module. |
All platforms | DefaultNotificationsProvider | Collects notifications from any other ISupportNotifications objects. Types that have descendants are ignored. |
To create a custom provider, implement the INotificationsProvider interface or inherit one of the built-in providers.
To register a provider, use the NotificationsService.RegisterNotificationsProvider method.
See Also