Defines possible targets the rule applies to.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Flags]
public enum RuleTargets
Remarks
Example
To be added.
Members
| Member Name | Description | Value |
|---|---|---|
| None | Indicates unknown target. | 0 |
| VS | Indicates Visual Studio IDE as target. | 1 |
| Solution | Indicates solution as target. | 2 |
| Project | Indicates project as target. | 4 |
| File | Indicates file as target. | 8 |
| Namespace | Indicates namespace as target. | 16 |
| Class | Indicates class as target. | 32 |
| Interface | Indicates interface as target. | 64 |
| Delegate | Indicates delegate as target. | 128 |
| Struct | Indicates struct as target. | 256 |
| Enumeration | Indicates enum as target. | 512 |
| Module | Indicates module as target. | 1024 |
| Type | Indicates type as target. | 2016 |
| Variable | Indicates variable as target. | 2048 |
| LocalConstant | Indicates local contant as target. | 4096 |
| Method | Indicates method as target. | 8192 |
| Operator | Indicates operator as target. | 16384 |
| Event | Indicates event as target. | 32768 |
| Property | Indicates property as target. | 65536 |
| Indexer | Indicates indexer as target. | 131072 |
| EnumerationItem | Indicates enum member as target. | 262144 |
| Parameter | Indicates parameter as target. | 524288 |
| Constant | Indicates constant as target. | 1048576 |
| Field | Indicates field as target. | 2097152 |
| Member | Indicates member as target. | 3661824 |
Requirements
Namespace: SubMain.CodeItRight.Sdk.Core.Rules
Assembly: SubMain.CodeItRight.Sdk.Core (in SubMain.CodeItRight.Sdk.Core.dll)
See Also
SubMain.CodeItRight.Sdk.Core.Rules Namespace

