示例#1
0
 public void Dispose()
 {
     if (Writer == null)
     {
         DebugConsole.ThrowError("Cannot dispose invalid XmlWriter");
         return;
     }
     Writer.Dispose();
 }
示例#2
0
        public void SaveDependencies()
        {
            if (writer == null)
            {
                return;
            }

            writer.WriteEndElement();
            writer.WriteEndDocument();
            writer.Flush();
            writer.Dispose();
            zipStream.Dispose();
            writer           = null;
            zipStream        = null;
            dependency_stack = null;
        }
示例#3
0
 public void Dispose()
 {
     _writer.Dispose();
     Clear();
 }