Exemple #1
0
        internal void OnOrderStatusChanged(Order order, bool queued = true)
        {
            var e = new OnOrderStatusChanged(order);

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