Back to Devexpress

CustomLogics Class

expressappframework-devexpress-dot-expressapp-dot-dc-cb9e5ff5.md

latest3.0 KB
Original Source

CustomLogics Class

Arguments passed to the ModuleBase.CustomizeLogics method.

Namespace : DevExpress.ExpressApp.DC

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public sealed class CustomLogics
vb
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.

MethodDescription
CustomLogics.RegisterLogicRegisters a particular domain logic class for a specified Application Model interface.
CustomLogics.UnregisterLogicUnregisters a particular domain for a specified Application Model interface.
CustomLogics.IsRegisteredLogicIndicates whether a particular domain logic class is registered for a specified Application Model interface.
CustomLogics.IsUnregisteredLogicIndicates whether a particular domain logic class was unregistered for a specified Application Model interface.
CustomLogics.GetRegisteredLogicsReturns 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

CustomLogics Members

How the XAF Application Model Works

DevExpress.ExpressApp.DC Namespace