/// <summary> /// Transforms the document state and records the applied operation /// </summary> /// <param name="operation"></param> private void TransformState(OperationBase operation) { CurrentState = operation.ApplyTransform(CurrentState); _AppliedOperations.Add(operation.Id, operation); _AppliedOperationsOrder.Add(operation.Id); }