Documentation
Table of Contents

Constructor GuardrailCheckpoint

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.dll

GuardrailCheckpoint(string)

A place in an operation where guardrail rules are checked, by name. The names are open: the six built in here are the ones the library raises, and a target or an application may raise a checkpoint of its own and check it with CheckAsync(GuardrailCheckpoint, SubjectValues, IReadOnlyList<string>, CancellationToken). Two checkpoints are equal exactly when their names are equal, compared ordinally (case-sensitive).

public GuardrailCheckpoint(string Name)

Parameters

Name string

The checkpoint's name, such as "data".

Exceptions

ArgumentNullException

Name is null.

ArgumentException

Name is empty or white space.