Class ValidationViolation
Describes a single failed validation rule match against one statement.
Inheritance
System.Object
ValidationViolation
Namespace: BoldReports.UI.Xaml
Assembly: BoldReports.UWP.dll
Syntax
public sealed class ValidationViolation : Object
Constructors
ValidationViolation()
Declaration
public ValidationViolation()
Properties
Category
Gets or sets the category of the violation.
Declaration
public ViolationCategory Category { get; set; }
Property Value
| Type | Description |
|---|---|
| ViolationCategory |
Match
Gets or sets the matched rule value (e.g. "DROP STAGE").
Declaration
public string Match { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Reason
Gets or sets the human-readable explanation of the violation.
Declaration
public string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Rule
Gets or sets the rule that produced the violation (e.g. "RestrictedCommands").
Declaration
public string Rule { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Statement
Gets or sets the sanitized statement the rule was evaluated against.
Declaration
public string Statement { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |