NestedTypesAndSelf(INamedType)
Gets all nested types of the current type, and all recursively all nested types of those nested types, including the current type.
Declaration
public static IEnumerable<INamedType> NestedTypesAndSelf(this INamedType type)Parameters
| Type | Name | Description |
|---|---|---|
| INamedType | type | The named type. |
Returns
| Type | Description |
|---|---|
| IEnumerable<INamedType> | An enumerable starting with the type itself, followed by all nested types, recursively. |