Show / Hide Table of Contents

Interface IRule

A rule that can be validated.

Namespace: SpiceSharp.Validation
Assembly: SpiceSharp.dll
Syntax
public interface IRule

Properties

ViolationCount

Gets the number of violations of this rule.

Declaration
int ViolationCount { get; }
Property Value
Type Description
int

The violation count.

Violations

Gets the rule violations.

Declaration
IEnumerable<IRuleViolation> Violations { get; }
Property Value
Type Description
IEnumerable<IRuleViolation>

The rule violations.

Methods

Reset()

Resets the rule.

Declaration
void Reset()

Extension Methods

Utility.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX