Esempio n. 1
0
        internal void OnPendingNewOrder(Order order, bool queued = true)
        {
            var e = new OnPendingNewOrder(order);

            if (queued)
            {
                this.queue.Enqueue(e);
            }
            else
            {
                OnEvent(e);
            }
        }
Esempio n. 2
0
 internal void OnPendingNewOrder(Order order, bool queued = true)
 {
     var e = new OnPendingNewOrder(order);
     if (queued)
         this.queue.Enqueue(e);
     else
         OnEvent(e);
 }