TypeExtensions.EnumerateNestedTypes Method
Definition
If a type is a nested type then it enumerates its parents, starting at the outermost type, followed by the type itself. If it is not nested then it just returns the type.
public static IEnumerable<Type> EnumerateNestedTypes(this Type type);
Parameters
Name | Type | Description |
---|---|---|
type |
Returns
Last modified: 17 December 2024