private void RealTraderOnNewOrderLogItems(IEnumerable <OrderLogItem> items)
 {
     NewOrderLogItems.SafeInvoke(this, new OrderLogItemsEventArg(items));
 }
 private void NewOrderLogItemsHandler(IEnumerable <OrderLogItem> items)
 {
     AddGuiAction(() => NewOrderLogItems.SafeInvoke(items));
 }
 private void RaiseNewOrderLogItem(OrderLogItem item)
 {
     NewOrderLogItem?.Invoke(item);
     NewOrderLogItems?.Invoke(new[] { item });
 }
Exemple #4
0
 /// <summary>
 /// To call the event <see cref="Connector.NewOrderLogItems"/>.
 /// </summary>
 /// <param name="items">Orders log lines.</param>
 private void RaiseNewOrderLogItems(IEnumerable <OrderLogItem> items)
 {
     NewOrderLogItems.SafeInvoke(items);
 }