PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / IType­Hierarchy­Service Interface / IType­Hierarchy­Service Methods / IType­Hierarchy­Service.​Get­Derived­Type­Infos­Enumerator Method / IType­Hierarchy­Service.​Get­Derived­Type­Infos­Enumerator Method (Type­Def­Declaration, Boolean)

ITypeHierarchyService.GetDerivedTypeInfosEnumerator Method (TypeDefDeclaration, Boolean)

Gets an enumerator of DerivedTypeInfo for all types directly from a given type, and specifies whether derived types should be returned recursively.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
IEnumerator<DerivedTypeInfo> GetDerivedTypeInfosEnumerator(
	TypeDefDeclaration baseType,
	bool deep
)

Parameters

baseType
Type: PostSharp.Sdk.CodeModel.TypeDefDeclaration
The base class (a class or interface).
deep
Type: System.Boolean
true if children should be retrieved recursively, false if only direct children should be returned.

Return Value

Type: IEnumerator<DerivedTypeInfo>
Information about the set of types derived from baseType.
See Also