NotificationsService.RegisterNotificationsProvider(INotificationsProvider) Method

Registers the specified Notifications Provider

Namespace: DevExpress.ExpressApp.Notifications

Assembly: DevExpress.ExpressApp.Notifications.v18.2.dll

Declaration

public void RegisterNotificationsProvider(
    INotificationsProvider notificationProvider
)
Public Sub RegisterNotificationsProvider(
    notificationProvider As INotificationsProvider
)

Parameters

Type Name Description
INotificationsProvider notificationProvider

An INotificationsProvider object to register.

Types that are handled by the passed provider (INotificationsProvider.NotificationTypesInfo) are excluded from the DefaultNotificationsProvider.NotificationTypesInfo list to avoid conflicts with the NotificationsModule.DefaultNotificationsProvider.

To unregister a provider, use the NotificationsService.UnregisterNotificationsProvider method.

See Also