ReflectionSearch.GetDerivedTypes Method (Type) |
Gets the set of types derived from a given class or implementing a given interface.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public static TypeInheritanceCodeReference[] GetDerivedTypes( Type baseType )
Parameters
- baseType
- Type: System.Type
A class or interface.
Return Value
Type: TypeInheritanceCodeReference[]The set of types derived from or implementing baseType.
This method returns only types defined in the assembly being currently processed.
This feature is available only at build time. |