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

See Also

Reference

IRule Interface
IRule Members