Ejemplo n.º 1
0
        public XamlXmlReader(XmlReader document, XamlSchemaContext context, XamlXmlReaderSettings settings)
        {
            this.document = document;
            this.context  = context;
            this.settings = settings;

            _unoReader = new __uno::Uno.Xaml.XamlXmlReader(document, context.UnoInner, settings.UnoInner);
        }
Ejemplo n.º 2
0
        public XamlXmlReader(XmlReader document, XamlSchemaContext context, XamlXmlReaderSettings settings)
        {
            this.document = document;
            this.context  = context;
            this.settings = settings;

            if (XamlConfig.IsUnoXaml)
            {
                _unoReader = new __uno::Uno.Xaml.XamlXmlReader(document, context.UnoInner, settings.UnoInner);
            }
            else
            {
                _systemReader = new __ms::System.Xaml.XamlXmlReader(document, context.MsInner, settings.MsInner);
            }
        }