Пример #1
0
        internal void OnOrderDone(Order order, bool queued = true)
        {
            var e = new OnOrderDone(order);

            if (queued)
            {
                this.queue.Enqueue(e);
            }
            else
            {
                OnEvent(e);
            }
        }
Пример #2
0
 internal void OnOrderDone(Order order, bool queued = true)
 {
     var e = new OnOrderDone(order);
     if (queued)
         this.queue.Enqueue(e);
     else
         OnEvent(e);
 }