Skip to main content
.NET Framework 4.5.2+

CustomLogics.RegisterLogic(Type, Type) Method

Registers a particular domain logic class for a specified Application Model interface.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public void RegisterLogic(
    Type forInterface,
    Type logicType


Name Type Description
forInterface Type

A Type object representing the Application Model interface for which the logicType domain logic will be registered.

logicType Type

A Type object representing the domain logic class to be registered for the forInterface Application Model interface.


This method is used in the scope of the ModuleBase.CustomizeLogics method, when replacing the default domain logic implementations used for the Application Model interfaces with custom ones. For additional information, refer to the ModuleBase.CustomizeLogics method description.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterLogic(Type, Type) method.


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.

See Also