GetHierarchyTypes Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
GetHierarchyTypes(IDecorator<Type>, params Assembly[])
Gets a collection (inherited-to-self-to-derived) of inherited / ancestor and derived / descendant types from the underlying Type of the decorator.
public static IEnumerable<Type> GetHierarchyTypes(this IDecorator<Type> decorator, params Assembly[] assemblies)
Parameters
decoratorIDecorator<Type>The IDecorator<T> to extend.
assembliesAssembly[]The assemblies to include in the search of derived types.
Returns
- IEnumerable<Type>
An IEnumerable<T> that contains a sorted (base-to-derived) collection of inherited and derived types from the underlying Type of the
decorator.
Exceptions
- ArgumentNullException
decoratorcannot be null.