XML sources
Location: Sources.Xml module.
XmlStringSource parses well-formed XML documents from in-memory strings and supports manual external updates:
var source = new XmlStringSource("<xml content>")
source.Push("<xml content>") // update with new content
XmlFileSource parses XML files and automatically watches for changes:
var source = new XmlFileSource("settings/config.xml");
A file that does not exist simply leads to a null
node, which implies default settings values unless something is explicitly required.
Related pages
Configuration sourcesLast updated
Was this helpful?