public void OnMtEvent(MtEvent e) { Log.DebugFormat("OnMtEvent: begin.quote = {0}", e); ExecuteCallbackAction(a => a.OnMtEvent(e)); Log.Debug("OnMtEvent: end."); }
public void OnMtEvent(MtEvent mtEvent) { Log.Debug("OnMtEvent: begin."); ExecuteCallbackAction(a => a.OnMtEvent(mtEvent)); Log.Debug("OnMtEvent: end."); }
public void SendEvent(MtEvent mtEvent) { Log.DebugFormat("SendEvent: begin. event = {0}", mtEvent); FireOnMtEvent(mtEvent); Log.Debug("SendEvent: end."); }
private void Expert_OnMtEvent(MtExpert expert, MtEvent e) { Log.DebugFormat("Expert_OnMtEvent: begin. expert = {0}, event = {1}", expert, e); _service.OnMtEvent(e); Log.Debug("Expert_OnMtEvent: end."); }
public void OnMtEvent(MtEvent e) { Log.DebugFormat("OnMtEvent: begin. event = {0}", e); MtEventReceived?.Invoke(e); Log.Debug("OnMtEvent: end."); }
public void OnMtEvent(MtEvent mtEvent) { Log.DebugFormat("OnMtEvent: begin. event = {0}", mtEvent); MtEventReceived?.Invoke(this, new MtEventArgs(mtEvent)); Log.Debug("OnMtEvent: end."); }
public override void SendEvent(MtEvent mtEvent) { Log.DebugFormat("SendEvent: begin. event = {0}", mtEvent); if (IsTestMode) { if (_stopTimer == null) { _stopTimer = new System.Timers.Timer { Interval = StopExpertInterval, AutoReset = false }; _stopTimer.Elapsed += _stopTimer_Elapsed; } } base.SendEvent(mtEvent); Log.Debug("SendEvent: end."); }
private void FireOnMtEvent(MtEvent mtEvent) { OnMtEvent?.Invoke(this, mtEvent); }
private void FireOnMtEvent(MtEvent mtEvent) { OnMtEvent?.Invoke(this, new MtEventArgs(mtEvent)); }
public void SendEvent(MtEvent mtEvent) { FireOnMtEvent(mtEvent); }
public void OnMtEvent(MtEvent mtEvent) { MtEventReceived?.Invoke(this, new MtEventArgs(mtEvent)); }
public MtEventArgs(MtEvent e) { Event = e; }
public void OnMtEvent(MtEvent mtEvent) { ExecuteCallbackAction(a => a.OnMtEvent(mtEvent)); }