Documentation
Table of Contents

Class GuardrailCoverage

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.dll

The gate every guarded operation passes before it proceeds: a target before it executes, the client before a guarded call, and an application at a checkpoint of its own, each after CheckAsync(GuardrailCheckpoint, SubjectValues, IReadOnlyList<string>, CancellationToken).

public static class GuardrailCoverage
Inheritance
object
GuardrailCoverage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

Methods

Ensure(GuardrailDecision)

Returns when decision allows the operation, and throws otherwise. A decision allows the operation only when Allowed is true and it has no refusal and no violation.