Class ValidationResult
Holds the outcome of a query execution policy validation run.
Inheritance
System.Object
ValidationResult
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: BoldReports.Windows
Assembly: BoldReports.Wpf.dll
Syntax
public sealed class ValidationResult
Constructors
ValidationResult()
Declaration
public ValidationResult()
Properties
IsValid
Gets or sets a value indicating whether the whole query is permitted. True only when Violations is empty.
Declaration
public bool IsValid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Violations
Gets or sets the violations collected across all statements. A single statement can contribute at most one violation (first matching rule wins).
Declaration
public List<ValidationViolation> Violations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<ValidationViolation> |