internal static bool TryMapValue(object value, out object result) { var node = value as YamlNode; if (node != null) { result = new DynamicYaml(node); return(true); } result = null; return(false); }
public Post ParsePost(string content) { var splitted = ParseInternal(content); var parsed = new DynamicYaml(splitted[0]); return new Post(parsed, splitted[1].Trim()); }
public Post(DynamicYaml dynamicYaml, string unparsedContent) : base(dynamicYaml, unparsedContent) { }
public ContentBase(DynamicYaml dynamicYaml, string unparsedContent) { yaml = dynamicYaml; Content = unparsedContent; }