UtilReflectionGetAllBaseTypesT Method

Gets the Type inheritance hierarchy of the the source Type, that is, the type from which the source Type directly inherits, and the types from which their inherited types inherits.

Definition

Namespace: DevCase.Core.Diagnostics.Assembly.Reflection
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IEnumerable<Type> GetAllBaseTypes<T>()

Type Parameters

T
The source Type.

Return Value

IEnumerableType
The type from which the source Type directly inherits, and the types from which the inherited types inherits; or if the source Type represents the Object class or an interface.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also