protected YamlMappingNode LoadYaml(string content) { var input = new StringReader(content); var yaml = new YamlStream(); yaml.Load(input); return(yaml.GetRootNode()); }
protected YamlMappingNode LoadYaml() { var input = new StringReader(Encoding.Default.GetString(Resources.agrix)); var yaml = new YamlStream(); yaml.Load(input); return(yaml.GetRootNode()); }