GetInheritedTypes Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
GetInheritedTypes(IDecorator<Type>)
Gets a collection (inherited-to-self) of inherited / ancestor types from the underlying Type of the decorator.
public static IEnumerable<Type> GetInheritedTypes(this IDecorator<Type> decorator)
Parameters
decoratorIDecorator<Type>The IDecorator<T> to extend.
Returns
- IEnumerable<Type>
An IEnumerable<T> that contains the inherited types from the underlying Type of the
decorator.
Exceptions
- ArgumentNullException
decoratorcannot be null.