Public Instance Properties
Author | Rule author information |
AutoCorrectionOptions | String description of one or many ways to auto-correct the reported violation. |
AvailableTargets | Types of code elements to which the rule can be applied |
CanCorrect | Defines whether the Rule implements at least one auto-correct method |
Category | Rule category |
CorrectDescription | Describes options of correcting the violation |
Element | Code element where the violaiton was found |
Email | Rule author email address |
File | File name where the violation was found |
ID | Rule Id |
ItemFullyQualifiedName | Fully qualified name of code element where the violation was found |
ItemName | Name of code element where the violation was found |
ItemType | Type of the code element where the violation was found |
LineNumber | Line number in the file where the violation was found |
Name | Rule Instance unique name |
Project | Project name where the violation was found |
Scopes | The scope of type or member to trigger the rule validation |
SelectedCorrectionIndex | Selected index for AutoCorrectionOptions |
Severity | How critical is the violation |
Status | Rule activity status |
Targets | Subset of AvailableTargets selected by user |
Title | Long Rule Instance description |
Url | Link to page with additional information |
ViolationDescription | Description of the found violation |
Public Instance Methods
Check | Method to be implemented by the author to check code elements for the rule violation. |
Correct | Overloaded. Method to be implemented by the author that corrects the rule violation. |
See Also
IRule Interface | SubMain.CodeItRight.Sdk.Core.Rules Namespace



