Example #1
0
 // Creates an XmlReader according to the settings for parsing XML from the given stream.
 public static XmlReader Create(Stream input, XmlReaderSettings settings) => Create(input, settings, "");
Example #2
0
        // Creates an XmlReader according for parsing XML from the given stream.
        public static XmlReader Create(Stream input)
        {
            var settings = new XmlReaderSettings();

            return(CreateReaderImpl(input, settings, "", settings.CloseInput));
        }