/// <summary> /// Updates the unified state machine to include the element update. /// </summary> /// <param name="element"></param> /// <param name="collection"></param> private void ApplyElementUpdate(ModelElement element, ArrayList collection) { // If the element was updated and not removed, replace it in the StateMachine if (!element.IsRemoved && element.UpdatedBy.Count == 0) { AddModelElement(element.Duplicate()); } }