NDepend.API Documentation
RuleIdOrCategory Class Members
Properties  Methods 


NDepend.Issue Namespace : RuleIdOrCategory Class

The following tables list the members exposed by RuleIdOrCategory.

Public Properties
 NameDescription
Public PropertyReturns true if the corresponding usage of System.Diagnostics.CodeAnalysis.SuppressMessageAttribute relies on a category.  
Public PropertyReturns true if the corresponding usage of System.Diagnostics.CodeAnalysis.SuppressMessageAttribute relies on a rule-id.  
Public PropertyReturns true if the corresponding usage of System.Diagnostics.CodeAnalysis.SuppressMessageAttribute suppresses all issues.  
Public PropertyReturns the rule-id or the rule category defined in a usage of System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.  
Top
Public Methods
 NameDescription
Public Method Overrides Equals() since RuleIdOrCategory objects are used to index array of ISuppressMessage in dictionaries.  
Public MethodServes as the default hash function.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded. Gets an enumerable object that contains first element and then elements of elements, in this order.
Public Extension MethodOverloaded. Returns true if this item equals item1 or item2.
Public Extension MethodReturns the newer version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.NewerVersion<T> must be called instead.
Public Extension MethodReturns the older version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.OlderVersion<T> must be called instead.
Public Extension MethodGets an enumerable object that contains only the single element element.
Public Extension MethodIf obj is a numeric primitive type, returns its value converted as double. else returns null.
Top
See Also

Reference

RuleIdOrCategory Class
NDepend.Issue Namespace