Exemplo n.º 1
0
 /// <summary>
 /// Queues the next action from the alarm generator to the _actionQueue
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The e.</param>
 internal void QueueNextAction(object sender, QueuedEventArg e)
 {
     if (e.QueuedAction != null)
     {
         this._actionQueue.Enqueue(e.QueuedAction);
     }
 }
        internal void OnActionQueued(QueuedEventArg e)
        {
            var handler = this.QueueActionForProcessing;

            handler?.Invoke(this, e);
        }