private ICollection<XamlNode> ExtractNodesFromPullParser(string xml) { var pullParser = new XamlNodesPullParser(WiringContext); return pullParser.Parse(new SuperProtoParser(WiringContext).Parse(xml)).ToList(); }
private IEnumerable<XamlNode> ConvertToNodes(string xaml) { var wiringContext = WiringContext; var pullParser = new XamlNodesPullParser(wiringContext); var protoParser = new ProtoParser(wiringContext.TypeContext); return pullParser.Parse(protoParser.Parse(xaml)).ToList(); }
private IList<XamlNode> FlattenNodesFromXaml(string xaml) { var pullParser = new XamlNodesPullParser(WiringContext); var protoNodes = new SuperProtoParser(WiringContext).Parse(xaml); return pullParser.Parse(protoNodes).ToList(); }