NDepend.API Documentation
ChildTypes Property
NDepend.CodeModel Namespace > ICodeElementParent Interface : ChildTypes Property
Gets a sequence of types declared in this scope. If this code element is declared in (or is) a third-party assembly, gets only methods used by the application.
Syntax
IEnumerable<IType> ChildTypes {get;}
Remarks
The result includes classes, structures, interfaces, enumerations and delegates classes.
If this is a type, returns IType.NestedTypes.
This property getter has a O(this.ChildTypes.Count) time complexity.
If this is a ICodeBase, return the same sequence as ICodeBaseView.ICodeBaseView.Types.
Requirements

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

See Also

Reference

ICodeElementParent Interface
ICodeElementParent Members