Exemplo n.º 1
0
        public static Object Load(XmlReader rdr, XamlServicesOptions options = null)
        {
            var xamlReader = new XamlReaderService()
            {
                Options = options
            };

            return(xamlReader.Load(rdr));
        }
Exemplo n.º 2
0
        public static Object Parse(String xaml, XamlServicesOptions options = null)
        {
            var xamlReader = new XamlReaderService()
            {
                Options = options
            };

            return(xamlReader.ParseXml(xaml));
        }
Exemplo n.º 3
0
        public static Object Load(Stream stream, XamlServicesOptions options = null)
        {
            var xamlReader = new XamlReaderService()
            {
                Options = options
            };

            return(xamlReader.Load(stream));
        }