Пример #1
0
 /// <summary>
 /// Signals that the Document was closed and that no other
 /// Elements will be added.
 /// </summary>
 public virtual void Close()
 {
     open = false;
     os.Flush();
     if (closeStream)
     {
         os.Close();
     }
 }
Пример #2
0
 /// <summary>
 /// Signals that the Document was closed and that no other
 /// Elements will be added.
 /// </summary>
 public virtual void Close()
 {
     open = false;
     Os.Flush();
     if (closeStream)
     {
         Os.Dispose();
     }
 }