.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CustomLogics.IsRegisteredLogic(Type, Type) Method

Indicates whether a particular domain logic class is registered for a specified Application Model interface.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public bool IsRegisteredLogic(
    Type forInterface,
    Type logicType
)
Public Function IsRegisteredLogic(
    forInterface As Type,
    logicType As Type
) As Boolean
public bool IsRegisteredLogic(
    Type forInterface,
    Type logicType
)
Public Function IsRegisteredLogic(
    forInterface As Type,
    logicType As Type
) As Boolean
public bool IsRegisteredLogic(
    Type forInterface,
    Type logicType
)
Public Function IsRegisteredLogic(
    forInterface As Type,
    logicType As Type
) As Boolean

Parameters

Name Type Description
forInterface Type

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

logicType Type

A Type object representing the Application Model interface for which the logicType domain logic is supposedly registered.

Parameters

Name Type Description
forInterface Type

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

logicType Type

A Type object representing the Application Model interface for which the logicType domain logic is supposedly registered.

Parameters

Name Type Description
forInterface Type

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

logicType Type

A Type object representing the Application Model interface for which the logicType domain logic is supposedly registered.

Returns

Type Description
Boolean

true, if the logicType domain logic class is registered for the forInterface Application Model interface; otherwise, false.

Returns

Type Description
Boolean

true, if the logicType domain logic class is registered for the forInterface Application Model interface; otherwise, false.

Returns

Type Description
Boolean

true, if the logicType domain logic class is registered for the forInterface Application Model interface; otherwise, false.

Remarks

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