Retrieve the Type definitions from all types in the assembly that are derived from the given type. Th given type itself is excluded.

Namespace: Cartella.Support
Assembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
public static Type[] GetDerivedTypesFromAssembly(
	Assembly assembly,
	Type baseType
)
Visual Basic
Public Shared Function GetDerivedTypesFromAssembly ( _
	assembly As Assembly, _
	baseType As Type _
) As Type()
Visual C++
public:
static array<Type^>^ GetDerivedTypesFromAssembly(
	Assembly^ assembly, 
	Type^ baseType
)

Parameters

assembly
Type: System.Reflection..::..Assembly
Assembly from which to retrieve types
baseType
Type: System..::..Type
Base type from which the types are retrieved

Return Value

Array of derived types defined in the assembly

See Also