ModuleBase.GetRealModuleType(Type) Method

Returns the type of an XAF Module.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public static Type GetRealModuleType(
    Type moduleType
)
Public Shared Function GetRealModuleType(
    moduleType As Type
) As Type

Parameters

Type Name Description
Type moduleType

The System.Type object which potentially can be the type of an XAF Module.

Returns

Type Description
Type

The System.Type object which is the type of an XAF Module.

Remarks

If the passed type is not assignable from the ModuleBase type, or the passed type is obsolete, an ArgumentException is thrown. Otherwise, the type passed via the moduleType parameter is returned.

See Also