protected internal virtual void OnDifferenceObjectSaving(ModelDifferenceObject modelDifferenceObject, Dictionary diffDictionary) { Dictionary dictionary = modelDifferenceObject.GetCombinedModel(); dictionary.CombineWith(diffDictionary); modelDifferenceObject.Model = dictionary.GetDiffs(); objectSpace.CommitChanges(); }
private void combineDifference(ModelDifferenceObject userModelDifferenceObject, Dictionary diffDictionary, ModelDifferenceObject difference){ Dictionary combinedModel = difference.GetCombinedModel(); combinedModel.CombineWith(userModelDifferenceObject.Model); combinedModel.CombineWith(diffDictionary); difference.Model = combinedModel.GetDiffs(); }