Rule
Represents a rule which modifies the Rule.Severity of an Issue ReportItem or all of the ProjectIssues that share a Descriptor.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Class
- Namespace: Unity.ProjectAuditor.Editor
- Assembly: UnityEditor
public class Rule
Properties
Property | Description |
|---|---|
| Filter | An optional location filter representing a ReportItem's location. If specified, this Rule applies to a single ReportItem. If the string is null or empty, this Rule applies to every ReportItem matching the Id. |
| Id | The Descriptor ID |
| Severity | The Severity level to apply to the issue(s) represented by this Rule |
Methods
Method | Description |
|---|---|
| GetHashCode | Get the hashed integer representation of the Rule. |