예제 #1
0
        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);
            }
        }
예제 #2
0
 protected virtual void SynchronizeModel(ObjectModelSynchronizer objectModelSynchronizer)
 {
     objectModelSynchronizer.SynchronizeModel();
 }
예제 #3
0
 protected virtual void ApplyModel(ObjectModelSynchronizer objectModelSynchronizer)
 {
     objectModelSynchronizer.ApplyModel();
 }