Reset() private method

private Reset ( ) : void
return void
示例#1
0
        internal void Clear(XmlNodeType nodeType)
        {
            _nodeType     = nodeType;
            _localName    = string.Empty;
            _prefix       = string.Empty;
            _namespaceUri = string.Empty;
            _rawValue     = string.Empty;

            _attributePSVIInfo?.Reset();

            _nameWPrefix = null;
            _lineNo      = 0;
            _linePos     = 0;
        }
 internal void Clear(XmlNodeType nodeType)
 {
     this.nodeType = nodeType;
     localName     = string.Empty;
     prefix        = string.Empty;
     namespaceUri  = string.Empty;
     rawValue      = string.Empty;
     if (attributePSVIInfo != null)
     {
         attributePSVIInfo.Reset();
     }
     nameWPrefix = null;
     lineNo      = 0;
     linePos     = 0;
 }