public static Object Load(XmlReader rdr, XamlServicesOptions options = null) { var xamlReader = new XamlReaderService() { Options = options }; return(xamlReader.Load(rdr)); }
public static Object Parse(String xaml, XamlServicesOptions options = null) { var xamlReader = new XamlReaderService() { Options = options }; return(xamlReader.ParseXml(xaml)); }
public static Object Load(Stream stream, XamlServicesOptions options = null) { var xamlReader = new XamlReaderService() { Options = options }; return(xamlReader.Load(stream)); }