예제 #1
0
 public void UpdatesCallback(ReplicatorDto replicatorDto)
 {
     if (replicatorDto.CallerGuid != _echoGuid)
     {
         _callback.UpdatesCallback(replicatorDto);
     }
 }
 public void UpdatesCallback(ReplicatorDto replicatorDto)
 {
     lock (_locker)
     {
         if (_guidDictionary.ContainsKey(replicatorDto.ObjectKey))
         {
             var changingObject = _guidDictionary[replicatorDto.ObjectKey];
             _supressed = true;
             changingObject.GetType()
             .GetProperty(replicatorDto.PropertyName)
             .SetValue(changingObject, replicatorDto.Value);
         }
     }
 }
 public void SendUpdates(ReplicatorDto replicatorDto)
 {
     replicatorDto.CallerGuid = _managerGuid;
     SendUpdatesInternal(replicatorDto);
 }
예제 #4
0
 protected override void SendUpdatesInternal(ReplicatorDto replicatorDto)
 {
     _replicatorWcfService.SendUpdates(replicatorDto);
 }
 protected override void SendUpdatesInternal(ReplicatorDto replicatorDto)
 {
     _pipeProxy.SendUpdates(replicatorDto);
 }