/// <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(); }
/// <summary> /// Creates new SupremeComander object. /// </summary> private SupremeCommander(TextWriter Writer) { Equations = new Dictionary <Coords, Equation>(); Data = new CellTable(); this.Writer = Writer; }