Beispiel #1
0
        public static Object Load(XmlReader rdr, XamlServicesOptions options = null)
        {
            var xamlReader = new XamlReaderService()
            {
                Options = options
            };

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

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

            return(xamlReader.Load(stream));
        }