Table of Contents

Method TryRead

Namespace
Oscova.Agents.Skills
Assembly
Oscova.Agents.dll

TryRead(string, out IReadOnlyDictionary<string, string>)

Reads flat top-level scalar keys from the frontmatter block. Keys are case-insensitive. Returns false if no frontmatter delimited by '---' is present or its YAML is invalid.

public static bool TryRead(string content, out IReadOnlyDictionary<string, string> values)

Parameters

content string
values IReadOnlyDictionary<string, string>

Returns

bool