Beispiel #1
0
 public virtual void Dispose()
 {
     if (!disposed)
     {
         UndoCtx.Dispose();
     }
     disposed = true;
 }
Beispiel #2
0
        public void Dispose()
        {
            for (int i = testOperations.Count - 1; 0 <= i; --i)
            {
                testOperations[i].Undo();
            }

            undoContext.Dispose();
        }