public StartCanonicalization ( Stream stream, bool includeComments, string inclusivePrefixes ) : void | ||
stream | Stream | |
includeComments | bool | |
inclusivePrefixes | string | |
return | void |
public virtual void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes)
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
}
XmlDictionaryWriter::StartCanonicalization ( System stream, bool includeComments, string inclusivePrefixes ) : void |
public void AddReference(string headerId, XmlDictionaryReader reader, XmlDictionaryWriter writer) { HashStream hashStream = this.TakeHashStream(); writer.StartCanonicalization(hashStream, false, this.InclusivePrefixes); // The reader must be positioned on the start element of the header / body we want to canonicalize writer.WriteNode(reader, false); writer.EndCanonicalization(); writer.Flush(); // Add a reference for this block this.AddReference(headerId, hashStream.FlushHashAndGetValue()); }