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

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