private void ApplyModel(TModelMemberViewItem model, object targetObject) { var modelNodes = GetControlModelNodes(model); foreach (var node in modelNodes) { var objectModelSynchronizer = new ObjectModelSynchronizer(targetObject, node); _objectModelSynchronizers.Add(objectModelSynchronizer); ApplyModel(objectModelSynchronizer); } }
protected virtual void SynchronizeModel(ObjectModelSynchronizer objectModelSynchronizer) { objectModelSynchronizer.SynchronizeModel(); }
protected virtual void ApplyModel(ObjectModelSynchronizer objectModelSynchronizer) { objectModelSynchronizer.ApplyModel(); }