public void AddToCurrentOperation(SubOperation operation)
        {
            if (!this.IsTrackingEnabled)
            {
                return;
            }

            if (this.currentOperation == null)
            {
                throw new InvalidOperationException("Can not add to current operation. There is no operation opened");
            }

            this.currentOperation.AddOperation(operation);
        }
        public void AddToCurrentOperation(SubOperation operation)
        {
            if (!this.IsTrackingEnabled)
            {
                return;
            }

            if (this.currentOperation == null)
            {
                throw new InvalidOperationException("Can not add to current operation. There is no operation opened");
            }

            this.currentOperation.AddOperation(operation);
        }
 public void AddOperation(SubOperation change)
 {
     this.subOperations.Add(change);
 }
 public void AddOperation(SubOperation change)
 {
     this.subOperations.Add(change);
 }