Close() public méthode

public Close ( ) : void
Résultat void
 protected override void ReturnXmlWriter(XmlDictionaryWriter writer)
 {
     writer.Close();
 }
Exemple #2
0
                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;
                    }
                }
Exemple #6
0
 public override void Close()
 {
     writer.Close();
 }