YAML sources

Location: Sources.Yaml module.

YamlStringSource parses well-formed YAML documents from in-memory strings and supports manual external updates:

var source = new YamlStringSource("<yaml content>")

source.Push("<yaml content>") // update with new content

YamlFileSource parses YAML files and automatically watches for changes:

var source = new YamlFileSource("settings/config.yml");

A file that does not exist simply leads to a null node, which implies default settings values unless something is explicitly required.

pageConfiguration sources

Last updated