XElement FromNullLayer(NullLayer layer) { return(new XElement("Null", GetContents())); IEnumerable <XObject> GetContents() { foreach (var item in GetLayerContents(layer)) { yield return(item); } } }
YamlObject FromNullLayer(NullLayer layer, YamlMap superclassContent) { var result = superclassContent; return(result); }