public XamlLegacyXibReader(string file) { IdToObjectMap = new Dictionary<string, XamlDomObject>(); var objectNode = CreateXamlDom(XDocument.Load(file)); var processor = new PostProcessor(objectNode); objectNode = processor.Process(); _underlyingReader = new XamlDomReader(objectNode, objectNode.SchemaContext); }
public XamlXibReader(string file) { IdToObjectMap = new Dictionary <string, XamlDomObject>(); var objectNode = CreateXamlDom(file); var processor = new PostProcessor(objectNode); objectNode = processor.Process(); _underlyingReader = new XamlDomReader(objectNode, objectNode.SchemaContext); }