Skip to main content
.NET 6.0+

ModuleBase.GetRealModuleType(Type) Method

Returns the type of an XAF Module.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public static Type GetRealModuleType(
    Type moduleType
)

Parameters

Name Type Description
moduleType Type

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