The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CustomLogics Class

Arguments passed to the ModuleBase.CustomizeLogics method.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public sealed class CustomLogics
Public NotInheritable Class CustomLogics
public sealed class CustomLogics
Public NotInheritable Class CustomLogics
public sealed class CustomLogics
Public NotInheritable 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