protected override void ReturnXmlWriter(XmlDictionaryWriter writer) { writer.Close(); }
protected override void ReturnXmlWriter(XmlDictionaryWriter writer) { writer.Close(); if (messageEncoder.optimizeWriteForUTF8) { if (this.writer == null) this.writer = writer; } }
protected override void ReturnXmlWriter(XmlDictionaryWriter writer) { writer.Close(); if (this.writer == null) { this.writer = writer; } }
void ReturnStreamedWriter(XmlDictionaryWriter xmlWriter) { xmlWriter.Close(); streamedWriterPool.Return(xmlWriter); }
protected override void ReturnXmlWriter(XmlDictionaryWriter writer) { writer.Close(); if (writer is JavascriptXmlWriterWrapper) { if (this.javascriptWrapper == null) { this.javascriptWrapper = (JavascriptXmlWriterWrapper)writer; this.javascriptWrapper.JavascriptResponseMessageProperty = null; writer = this.javascriptWrapper.XmlJsonWriter; } } if (this.returnedWriter == null) { this.returnedWriter = writer; } }
public override void Close() { writer.Close(); }