Documentation
Table of Contents

Constructor InMemoryGuardrailSource

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.dll

InMemoryGuardrailSource(params GuardrailSet[])

Creates a source that serves sets, in the order given.

public InMemoryGuardrailSource(params GuardrailSet[] sets)

Parameters

sets GuardrailSet[]

The rule sets, each with a unique, non-empty Name.

Exceptions

ArgumentNullException

sets is null.

ArgumentException

A set is null, has an empty name, or has the name of an earlier set.