System.Xml.XmlTextReaderImpl.XmlTextReaderImpl C# (CSharp) Method

XmlTextReaderImpl() private method

private XmlTextReaderImpl ( string xmlFragment, XmlNodeType fragType, XmlParserContext context ) : System.IO
xmlFragment string
fragType XmlNodeType
context XmlParserContext
return System.IO
        internal XmlTextReaderImpl(string xmlFragment, XmlNodeType fragType, XmlParserContext context)
            : this(null == context || null == context.NameTable ? new NameTable() : context.NameTable)
        {
            if (xmlFragment == null)
            {
                xmlFragment = string.Empty;
            }

            if (context == null)
            {
                InitStringInput(string.Empty, Encoding.Unicode, xmlFragment);
            }
            else
            {
                _reportedBaseUri = context.BaseURI;
                InitStringInput(context.BaseURI, Encoding.Unicode, xmlFragment);
            }
            InitFragmentReader(fragType, context, false);
            _reportedEncoding = _ps.encoding;
        }

Same methods

XmlTextReaderImpl::XmlTextReaderImpl ( ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( Stream input ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( Stream input, XmlNameTable nt ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( Stream xmlFragment, XmlNodeType fragType, XmlParserContext context ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( Stream stream, byte bytes, int byteCount, XmlReaderSettings settings, Uri baseUri, string baseUriStr, XmlParserContext context, bool closeInput ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( TextReader input ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( TextReader input, XmlNameTable nt ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( TextReader input, XmlReaderSettings settings, string baseUriStr, XmlParserContext context ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( XmlNameTable nt ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( XmlResolver resolver, XmlReaderSettings settings, XmlParserContext context ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string url ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string url, Stream input ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string url, Stream input, XmlNameTable nt ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string url, TextReader input ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string url, TextReader input, XmlNameTable nt ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string url, XmlNameTable nt ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string xmlFragment, XmlParserContext context ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string xmlFragment, XmlParserContext context, XmlReaderSettings settings ) : System.IO
XmlTextReaderImpl::XmlTextReaderImpl ( string uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver ) : System.IO
XmlTextReaderImpl