ScanForTypes(bool)

Scans all runtime assemblies for types.

public static IEnumerable<Type> ScanForTypes(bool ignoreAbstractTypes = False)
Returns:
IEnumerable<Type>

Parameters

ignoreAbstractTypes bool

ScanForTypes(Type, bool)

Scans all runtime assemblies for types.

public static IEnumerable<Type> ScanForTypes(Type baseType, bool ignoreAbstractTypes = False)
Returns:
IEnumerable<Type>

Parameters

baseType Type

Base type that all types must be assignable to.

ignoreAbstractTypes bool

If true, returns only types that are not abstract or an interface.

ScanForTypes<T>(bool)

Scans all runtime assemblies for types that are assignable to the specified base type.

public static IEnumerable<Type> ScanForTypes<T>(bool ignoreAbstractTypes = False)
Returns:
IEnumerable<Type>

Parameters

ignoreAbstractTypes bool

Type Parameters

T

Base type that all types must be assignable to.

In this article