public void EndWrite() { if (matrix == null) { return; } if (ownerWriter != null) { ownerWriter.FlushBaseWriter(this); } else { Owner.BeginEdit(); Owner.Matrix.CopyData(matrix); Owner.EndEdit(); } matrix = null; }
public void BeginWrite() { matrix = new ExtendedConsoleCellMatrix(); matrix.SetSize(Owner.Matrix.Width, Owner.Matrix.Height); }