private IEnumerable<XamlNode> ConvertToNodes(Stream xaml) { var wiringContext = WiringContext; var pullParser = new XamlNodesPullParser(wiringContext); var protoParser = new SuperProtoParser(wiringContext); return pullParser.Parse(protoParser.Parse(xaml)).ToList(); }
public void Initialize() { sut = new SuperProtoParser(WiringContext); }
private IList<XamlNode> FlattenNodesFromXaml(string xaml) { var pullParser = new XamlNodesPullParser(WiringContext); var protoNodes = new SuperProtoParser(WiringContext).Parse(xaml); return pullParser.Parse(protoNodes).ToList(); }