ReflectionUtilities.

GetDerivedTypes(Type, ICollection<Type>, bool) Method

Summary

Gets all non-abstract types in the currently loaded assemblies which derive from the specified base type (starting with the base type itself if it isn't abstract).
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static void GetDerivedTypes(this Type baseType, ICollection<Type> derivedTypes, bool includeBase = true)

Parameters

Name Type Description
baseType Type
derivedTypes ICollection<Type>
includeBase bool

Return Value

Type Description
void