GetTypesAssignableTo(Type, bool) Method
Gets all types assignable to a specified type.
Namespace
Statiq.Common
Containing Type
ClassCatalog

Syntax

public IEnumerable<Type> GetTypesAssignableTo(Type assignableType, bool includeAbstract = false)

Parameters

Name Type Description
assignableType Type The type of classes to get.
includeAbstract bool true to include abstract class types, false otherwise.

Return Value

Type Description
IEnumerable<Type> All classes of the specified type.