ISupportNotifications Interface

Declares members of business objects that support the Notifications Module functionality.

Namespace: DevExpress.Persistent.Base.General

Assembly: DevExpress.Persistent.Base.v18.2.dll

Declaration

public interface ISupportNotifications
Public Interface ISupportNotifications

Implement this interface in a business class if you need to display notifications associated with these class instances. Refer to the How to: Use Notifications with a Custom Business Class (Implement ISupportNotifications) topic to see an example.

The built-in class that supports the ISupportNotifications is an Event provided by the Built-in Business Class Library for both Entity Framework and XPO.

Note

Business object types that support ISupportNotifications, but have descendants, are ignored by the Notifications Module. This is done to avoid duplicate notifications for each type in the inheritance hierarchy. You can add required types manually using the DefaultNotificationsProvider.NotificationTypesInfo property.

See Also