GetInheritedTypes Method
Definition
- Namespace
- Cuemon.Extensions.Reflection
- Assemblies
- Cuemon.Extensions.Reflection.dll
GetInheritedTypes(Type)
Gets a collection (inherited-to-self) of inherited / ancestor types of the source.
public static IEnumerable<Type> GetInheritedTypes(this Type source)
Parameters
Returns
- IEnumerable<Type>
An IEnumerable<T> that contains the inherited types of the
source.
Exceptions
- ArgumentNullException
sourcecannot be null.