Documentation
Table of Contents

Class GuardrailDeclarations

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.dll

The settings and subjects declared on an IntentClientBuilder with AddSetting(SettingDescriptor) and AddSubject(SubjectDescriptor), in the order they were declared, as Build() hands them to OnBuild. A guardrail source that reads rules from files uses them to know the settings a settings: block may set and the subjects its rules may name.

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

Constructors

GuardrailDeclarations(IEnumerable<SettingDescriptor>, IEnumerable<SubjectDescriptor>)

Creates the declarations from two lists, which are copied.

Properties

Settings

The settings declared with AddSetting(SettingDescriptor), in declaration order.

Subjects

The subjects declared with AddSubject(SubjectDescriptor), in declaration order.