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, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

ICodeElementParent Interface
ICodeElementParent Members