Documentation
Table of Contents

Property Current

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.Guardrails.dll

Current

The rule sets as they are now. The first use loads, blocking on the store; a later use returns the published snapshot, reading the store again only after it reported a change.

public IGuardrailSnapshot Current { get; }

Property Value

IGuardrailSnapshot

Exceptions

GuardrailLoadException

A pinned document's running version has another hash than the expected one, or none; or the store could not be read at the first load. The message names the documents and both hashes.

ObjectDisposedException

The source was disposed before it loaded anything.