System.Xml.XmlCharCheckingReader.XmlCharCheckingReader C# (CSharp) Méthode

XmlCharCheckingReader() private méthode

private XmlCharCheckingReader ( XmlReader reader, bool checkCharacters, bool ignoreWhitespace, bool ignoreComments, bool ignorePis, bool prohibitDtd ) : System
reader XmlReader
checkCharacters bool
ignoreWhitespace bool
ignoreComments bool
ignorePis bool
prohibitDtd bool
Résultat System
        internal XmlCharCheckingReader( XmlReader reader, bool checkCharacters, bool ignoreWhitespace, bool ignoreComments, bool ignorePis, bool prohibitDtd ) 
            : base( reader ) {

            Debug.Assert( checkCharacters || ignoreWhitespace || ignoreComments || ignorePis || prohibitDtd );

            state = State.Initial;

            this.checkCharacters = checkCharacters;
            this.ignoreWhitespace = ignoreWhitespace;
            this.ignoreComments = ignoreComments;
            this.ignorePis = ignorePis;
            this.prohibitDtd = prohibitDtd;

            lastNodeType = XmlNodeType.None;

            if ( checkCharacters ) {
                xmlCharType = XmlCharType.Instance;
            }
        }