public static XmlReader Create(Stream input, XmlReaderSettings settings, string baseUri) { if (AsyncUtil.IsAsyncEnabled) { return(XmlReaderAsync.Create(input, settings, baseUri)); } else { return(XmlReader.Create(input, settings));//, baseUri); } }
public static XmlReader Create(Stream input) { if (AsyncUtil.IsAsyncEnabled) { return(XmlReaderAsync.Create(input)); } else { return(XmlReader.Create(input)); } }
public static XmlReader Create(string inputUri, XmlReaderSettings settings, XmlParserContext inputContext) { if (AsyncUtil.IsAsyncEnabled) { return(XmlReaderAsync.Create(FilePathUtil.getStream(inputUri), settings, inputContext)); } else { return(XmlReader.Create(FilePathUtil.getStream(inputUri)));//, settings, inputContext); } }
public static XmlReader Create(string inputUri) { if (AsyncUtil.IsAsyncEnabled) { return(XmlReaderAsync.Create(FilePathUtil.getStream(inputUri))); } else { return(XmlReader.Create(FilePathUtil.getStream(inputUri))); } }
public static XmlReader Create(XmlReader reader, XmlReaderSettings settings) { if (AsyncUtil.IsAsyncEnabled) { return(XmlReaderAsync.Create(reader, settings)); } else { return(XmlReader.Create(reader, settings)); } }
public static XmlReader Create(TextReader input, XmlReaderSettings settings, XmlParserContext inputContext) { if (AsyncUtil.IsAsyncEnabled) { return(XmlReaderAsync.Create(input, settings, inputContext)); } else { return(XmlReader.Create(input, settings, inputContext)); } }