Documentation
Table of Contents

Class GuardrailSet

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.dll

A named rule set as a source supplies it: where it came from, the checkpoint it is for, its rules (written by a person and compiled from intent, together) and its settings. A check names the sets it applies.

public sealed class GuardrailSet
Inheritance
object
GuardrailSet
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

GuardrailSet()

Creates a set. Set at least Name and Checkpoint.

Properties

Checkpoint

The checkpoint the set is written for. A rule on a subject no descriptor declares is reported at this checkpoint.

ContentHash

The hash of the document's content, or null.

Document

The document the set was read from, or null for a set built in code.

Label

The author's label for this version of the set, if any; the store's sequence is the version.

Name

The set's name, which checks name it by; compared ordinally.

Rules

The set's rules: the authored rules and the running compiled ones, together. Every enforced rule must pass.

Sequence

The document's version sequence the set was read from, or null.

Settings

The set's settings by name, which apply to the checks that name the set, ahead of every other layer. A name that no setting declares is ignored by the check; the source reports it when it reads the set.

Target

The target the set is written for, by name, or null when it is not tied to one.