Skip to main content
.NET Standard 2.0+

ISupportNotifications Interface

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

Namespace: DevExpress.Persistent.Base.General

Assembly: DevExpress.Persistent.Base.v22.1.dll

Declaration

public interface ISupportNotifications

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ISupportNotifications interface.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also