NDepend.API Documentation
AsCodeContainer Property
NDepend.CodeModel Namespace > ICodeElement Interface : AsCodeContainer Property
Gets this code element casted to ICodeContainer if it is a an assembly, a namespace, a type or a method, else gets null.
Syntax
ICodeContainer AsCodeContainer {get;}
Requirements

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

See Also

Reference

ICodeElement Interface
ICodeElement Members