NDepend.API Documentation
IRule Interface Members
Properties  Methods 

NDepend.Issue Namespace : IRule Interface

The following tables list the members exposed by IRule.

Public Properties
 NameDescription
 Property Get the rule category.  
 Property The rule explicit-id like "AvoidTypesTooBig" for example.  
 Property The rule id like "ND1000" for example.  
 Property Is the rule considered critical or not.  
 Property The rule name.  
 Property The rule provider.  
Top
Public Methods
 NameDescription
 MethodTry get the rule description if available, formatted according to stringFormattingKind.  
 MethodTry get how-to-fix-rule explanation if available, formatted according to stringFormattingKind.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded. Gets the summed annual-interest of all issues of rule.
Public Extension MethodOverloaded. Gets NewerIssuesSet.AnnualInterest(IRule) of NewerVersion(IRule) of rule, minus OlderIssuesSet.AnnualInterest(IRule) of OlderVersion(IRule) of rule.
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.AnnualInterestPercent(Debt(IRule),AnnualInterest(IRule)).
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.AnnualInterestPercent(DebtDiff(IRule),AnnualInterestDiff(IRule)).
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.BreakingPoint(Debt(IRule),AnnualInterest(IRule)).
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.BreakingPoint(DebtDiff(IRule),AnnualInterestDiff(IRule)).
Public Extension MethodOverloaded. Gets the summed debt of all issues of rule.
Public Extension MethodOverloaded. Gets NewerIssuesSet.Debt(IRule) of NewerVersion(IRule) of rule, minus OlderIssuesSet.Debt(IRule) of OlderVersion(IRule) of rule.
Public Extension MethodOverloaded. Gets issues of rule from queryExecutionSuccessResult.
Public Extension MethodOverloaded. Gets a value that indicates if qualityGate is in NewerIssuesSet.
Public Extension MethodOverloaded. Gets a value that indicates if qualityGate is in OlderIssuesSet.
Public Extension MethodGets a value that indicates if rule is present in both NewerIssuesSet and OlderIssuesSet and is violated in OlderIssuesSet and not in NewerIssuesSet.
Public Extension MethodOverloaded. Gets a value that indicates if qualityGate is in NewerIssuesSet or OlderIssuesSet and has an equivalent in the other issues-set.
Public Extension MethodOverloaded. Gets all issues of rule.
Public Extension MethodOverloaded. Gets all issues of rule that have no equivalent in OlderIssuesSet. These issues are considered as added.
Public Extension MethodOverloaded. Gets all issues of rule that have no equivalent in NewerIssuesSet. These issues are considered as fixed.
Public Extension MethodGets a value that indicates if the rule is violated in the context of this issues-set.
Public Extension MethodOverloaded. Gets the qualityGate in NewerIssuesSet, or null if qualityGate has no equivalent in NewerIssuesSet.
Public Extension MethodOverloaded. Gets the qualityGate in OlderIssuesSet, or null if qualityGate has no equivalent in OlderIssuesSet.
Public Extension MethodGets a value that indicates if rule is present in both NewerIssuesSet and OlderIssuesSet and is violated in NewerIssuesSet and not in OlderIssuesSet.
Top
See Also

Reference

IRule Interface
NDepend.Issue Namespace