.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

CustomLogics Class

Arguments passed to the ModuleBase.CustomizeLogics method.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public sealed class CustomLogics

Remarks

The ModuleBase.CustomizeLogics method allows you to replace the default domain logic implementations used for the Application Model interfaces with custom ones. For this purpose, a CustomLogics object, exposed by the method’s customLogics parameter, supplies the following methods.

Method Description
CustomLogics.RegisterLogic Registers a particular domain logic class for a specified Application Model interface.
CustomLogics.UnregisterLogic Unregisters a particular domain for a specified Application Model interface.
CustomLogics.IsRegisteredLogic Indicates whether a particular domain logic class is registered for a specified Application Model interface.
CustomLogics.IsUnregisteredLogic Indicates whether a particular domain logic class was unregistered for a specified Application Model interface.
CustomLogics.GetRegisteredLogics Returns the list domain logic class types that are registered for a specified Application Model interface.

To see an example of using the CustomLogics class’ methods, refer to the ModuleBase.CustomizeLogics method description.

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

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.

Inheritance

Object
CustomLogics
See Also