NDepend.API Documentation
DirectChildNamespaces Property
NDepend.CodeModel Namespace > INamespace Interface : DirectChildNamespaces Property
Gets a sequence of direct child namespaces of this namespace. For example child namespaces of the namespace AA.BB could be AA.BB.CC but not AA.BB.CC.DD.
Syntax
IEnumerable<INamespace> DirectChildNamespaces {get;}
Remarks
The anonymous namespace doesn't have any direct child namespace.
This property getter has a O(this.ParentAssembly.ChildNamespaces.Count) time complexity.
Requirements

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

See Also

Reference

INamespace Interface
INamespace Members
ChildNamespaces Property
ParentNamespaces Property
ParentNamespace Property