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

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