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

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

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

            return(xamlReader.Load(stream));
        }