예제 #1
0
        void WriteStartChunkCallback(XmlDictionaryWriter writer, object state)
        {
            StartChunkState startState = (StartChunkState)state;

            writer.WriteStartElement(startState.OperationName, startState.OperationNs);
            writer.WriteStartElement(startState.ParamName, startState.ParamNs);
            writer.WriteEndElement();
            writer.WriteEndElement();
        }
예제 #2
0
 internal ChunkingWriter(Message originalMessage, TimeoutHelper chunkingTimeout, IOutputChannel outputChannel) : base()
 {
     this.version         = originalMessage.Version;
     this.originalMessage = originalMessage;
     this.chunkingTimeout = chunkingTimeout;
     this.outputChannel   = outputChannel;
     this.startState      = new StartChunkState();
     chunkNum             = 1;
 }