CustomLogics.RegisterLogic(Type, Type) Method

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

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v18.2.dll


public void RegisterLogic(
    Type forInterface,
    Type logicType
Public Sub RegisterLogic(
    forInterface As Type,
    logicType As Type


Type Name Description
Type forInterface

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

Type logicType

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.

See Also