M_CommandLine_Core_ReflectionExtensions_FlattenHierarchy - adutton/commandline GitHub Wiki
Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
private static IEnumerable<Type> FlattenHierarchy(
this Type type
)VB
<ExtensionAttribute>
Private Shared Function FlattenHierarchy (
type As Type
) As IEnumerable(Of Type)C++
private:
[ExtensionAttribute]
static IEnumerable<Type^>^ FlattenHierarchy(
Type^ type
)F#
[<ExtensionAttribute>]
private static member FlattenHierarchy :
type : Type -> IEnumerable<Type>
- type
- Type: System.Type
Type: IEnumerable(Type)
In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).