Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomLogics Class

Arguments passed to the ModuleBase.CustomizeLogics method.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.1.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