NDepend.API Documentation
DefinedFor Method
NDepend.CodeModel Namespace > ICodeMetric<TCodeElement,TNumeric> Interface : DefinedFor Method
The code element.
Gets a value indicating whether this code metric is defined for codeElement.
Syntax

Parameters

codeElement
The code element.
Remarks
This method has a constant time complexity.
Requirements

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

See Also

Reference

ICodeMetric<TCodeElement,TNumeric> Interface
ICodeMetric<TCodeElement,TNumeric> Members