Name | Description | |
---|---|---|
CodeRuleAttribute Constructor | Initializes a new instance of the CodeRuleAttribute class, from the specified codeRuleString. |
The following tables list the members exposed by CodeRuleAttribute.
Name | Description | |
---|---|---|
CodeRuleAttribute Constructor | Initializes a new instance of the CodeRuleAttribute class, from the specified codeRuleString. |
Name | Description | |
---|---|---|
Active | Gets or sets a value that indicates whether the code rule is active. | |
CodeRuleString | Gets the CQLinq or CQL code rule string or query string. | |
DisplayListInReport | Gets or sets a value that indicates whether if the code rule is violated, the code rule matched code elements are listed into the report. | |
DisplaySelectionViewInReport | Gets or sets a value that indicates whether if the code rule is violated, the code rule matched code elements are shown in a treemap picture embedded into the report. | |
DisplayStatInReport | Gets or sets a value that indicates whether if the code rule is violated, the code rule matched code elements statistics are shown into the report. | |
IsCriticalRule | Gets or sets a value that indicates whether the code rule is critical or not. |
Name | Description | |
---|---|---|
Equals | Overridden. Returns a value that indicates whether this instance is equal to a specified object. | |
GetHashCode | Overridden. Serves as the default hash function. |
Name | Description | |
---|---|---|
Concat | Overloaded. Gets an enumerable object that contains first element and then elements of elements, in this order. | |
EqualsAny | Overloaded. Returns true if this item equals item1 or item2. | |
NewerVersion<T> | Returns 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. | |
OlderVersion<T> | Returns 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. | |
ToEnumerable<TElement> | Gets an enumerable object that contains only the single element element. | |
ToNullableDouble | If obj is a numeric primitive type, returns its value converted as double. else returns null. |