PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / IType­Hierarchy­Service Interface

ITypeHierarchyService Interface

Service (provided by GetServices<T>()) that provides access to the index of type parent-child relationships.

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#
public interface ITypeHierarchyService : IService

The ITypeHierarchyService type exposes the following members.

Methods
  NameDescription
Public methodGetDerivedTypeInfoOfTypeElement
Public methodGetDerivedTypeInfosEnumerator(TypeDefDeclaration)
Gets an enumerator of DerivedTypeInfo for all types directly derived from a given type.
Public methodGetDerivedTypeInfosEnumerator(TypeDefDeclaration, Boolean)
Gets an enumerator of DerivedTypeInfo for all types directly from a given type, and specifies whether derived types should be returned recursively.
Public methodGetDerivedTypesEnumerator
Gets an enumerator of all TypeDefDeclaration derived from a given type.
Public methodIndexType
Inserts a given TypeDefDeclaration in the type hierarchy.
See Also