Interface IRuleViolation
Describes a rule violation.
Namespace: SpiceSharp.Validation
Assembly: SpiceSharp.dll
Syntax
public interface IRuleViolation
Properties
Rule
Gets the rule that was violated.
Declaration
IRule Rule { get; }
Property Value
Type | Description |
---|---|
IRule | The violated rule. |
Subject
Gets the subject that caused the rule violation (if any).
Declaration
IRuleSubject Subject { get; }
Property Value
Type | Description |
---|---|
IRuleSubject | The subject that caused the violation. |