Documentation
Table of Contents

Method Parse

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.Guardrails.dll

Parse(string)

Parses YAML text into a tree whose nodes and keys know their lines.

public ParsedDocument Parse(string text)

Parameters

text string

The document's text.

Returns

ParsedDocument

Exceptions

ArgumentNullException

text is null.

DocumentFormatException

The text is not valid YAML, holds no document, or is refused by the limits in the remarks.