예제 #1
0
 public void Update(IServerToClientMessage other)
 {
     Reset();
     MessageType = other.MessageType;
     LimitOrder.Update(other.LimitOrder);
     LimitOrderList.AddRange(other.LimitOrderList);
     StopLimitOrderList.AddRange(other.StopLimitOrderList);
     Message          = other.Message;
     ReceiverClientId = other.ReceiverClientId;
     Execution.Update(other.Execution);
     Level1.Update(other.Level1);
     StopLimitOrder.Update(other.StopLimitOrder);
 }
 public void Update(IServerToClientMessage other)
 {
     Reset();
     MessageType = other.MessageType;
     LimitOrder.Update(other.LimitOrder);
     LimitOrderList.AddRange(other.LimitOrderList);
     StopLimitOrderList.AddRange(other.StopLimitOrderList);
     Message = other.Message;
     ReceiverClientId = other.ReceiverClientId;
     Execution.Update(other.Execution);
     Level1.Update(other.Level1);
     StopLimitOrder.Update(other.StopLimitOrder);
 }