Esempio n. 1
0
 private void RealTraderOnStopOrdersRegisterFailed(IEnumerable <OrderFail> fails)
 {
     StopOrdersRegisterFailed.SafeInvoke(this, new OrderFailsEventArgs(fails));
 }
Esempio n. 2
0
 private void StopOrdersRegisterFailedHandler(IEnumerable <OrderFail> fails)
 {
     AddGuiAction(() => StopOrdersRegisterFailed.SafeInvoke(fails));
 }
Esempio n. 3
0
 /// <summary>
 /// To call the event <see cref="StopOrdersRegisterFailed"/>.
 /// </summary>
 /// <param name="fail">Error information that should be passed to the event.</param>
 private void RaiseStopOrdersRegisterFailed(OrderFail fail)
 {
     StopOrderRegisterFailed?.Invoke(fail);
     StopOrdersRegisterFailed?.Invoke(new[] { fail });
 }
Esempio n. 4
0
 /// <summary>
 /// To call the event <see cref="Connector.StopOrdersRegisterFailed"/>.
 /// </summary>
 /// <param name="fails">Error information that should be passed to the event.</param>
 private void RaiseStopOrdersRegisterFailed(IEnumerable <OrderFail> fails)
 {
     StopOrdersRegisterFailed.SafeInvoke(fails);
 }