GetTypesAssignableTo<T>(ClassCatalog, bool) Method
Gets all types assignable from a specified type.
Namespace
Statiq.Common
Containing Type
ClassCatalogExtensions

Syntax

public static IEnumerable<Type> GetTypesAssignableTo<T>(this ClassCatalog classCatalog, bool includeAbstract = false)

Type Parameters

Name Description
T The type of classes to get.

Parameters

Name Type Description
classCatalog ClassCatalog The class catalog.
includeAbstract bool true to include abstract class types, false otherwise.

Return Value

Type Description
IEnumerable<Type> All classes of type T.