NDepend.API Documentation
Id Property (IRule)
NDepend.Issue Namespace > IRule Interface : Id Property
The rule id like "ND1000" for example.
Syntax
string Id {get;}
Remarks
If the rule is defined with an explicit-id like "ND1000:AvoidTypesTooBig", the explicit-id is not returned here.
If the rule has no id, a string empty is returned.
Requirements

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

See Also

Reference

IRule Interface
IRule Members