NDepend.API Documentation
OrderByHierarchy(IEnumerable<ICodeElementParent>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > OrderByHierarchy Method : OrderByHierarchy(IEnumerable<ICodeElementParent>) Method
This sequence of ICodeElementParent objects.
Returns a sequence that contain these codeElementParents ordered by hierarchy. For example an assembly of codeElementParents is followed by its first child namespace in sequence, that is followed by its first child type in the sequence...
Syntax

Parameters

codeElementParents
This sequence of ICodeElementParent objects.
Remarks
An IAssembly object, is followed by its child INamespace objects.
A INamespace object, is followed by its child IType objects.
A IType object, is also followed by its nested ITypeobjects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List