示例#1
0
 internal void HashElement(HashAlgorithm ha, string localName, string prefix, string ns)
 {
     ha.AddString((int)(XmlNodeType.Element) +
                  Delimiter +
                  ((_bIgnoreNamespaces || _bIgnorePrefixes) ? string.Empty : prefix) +
                  Delimiter +
                  (_bIgnoreNamespaces ? string.Empty : ns) +
                  Delimiter +
                  localName);
 }
示例#2
0
 internal void HashElement(HashAlgorithm ha, string localName, string prefix, string ns)
 {
     ha.AddString(1.ToString() + "\0x01" + (this._bIgnoreNamespaces || this._bIgnorePrefixes ? (object)string.Empty : (object)prefix) + "\0x01" + (this._bIgnoreNamespaces ? (object)string.Empty : (object)ns) + "\0x01" + localName);
 }
 internal void HashElement( HashAlgorithm ha, string localName, string prefix, string ns )
 {
     ha.AddString( (int)(XmlNodeType.Element) + 
                   Delimiter +
                   ( ( _bIgnoreNamespaces || _bIgnorePrefixes ) ? string.Empty : prefix ) +
                   Delimiter +
                   ( _bIgnoreNamespaces ? string.Empty : ns ) +
                   Delimiter +
                   localName );
 }