예제 #1
0
 /// <summary>
 /// Correctly closes writer and gets rid of all objects, properties.
 /// </summary>
 public void Dispose()
 {
     this.Data      = null;
     this.Equations = null;
     this.Writer.Flush();
     this.Writer.Close();
     this.Writer.Dispose();
 }
예제 #2
0
 /// <summary>
 /// Creates new SupremeComander object.
 /// </summary>
 private SupremeCommander(TextWriter Writer)
 {
     Equations   = new Dictionary <Coords, Equation>();
     Data        = new CellTable();
     this.Writer = Writer;
 }