Skip to main content
.NET Framework 4.6.2+

CustomLogics Class

Arguments passed to the ModuleBase.CustomizeLogics method.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

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.

Inheritance

Object
CustomLogics
See Also