Example #1
0
        protected virtual void OnQueueCompleted(QueueCompletedEventArgs e)
        {
            QueueCompletedEventDelegate handler = this.QueueCompleted;

            if (handler != null)
            {
                handler(this, e);
            }

            this.IsProcessing = false;
        }
Example #2
0
 private void InvokeQueueCompleted(QueueCompletedEventArgs e)
 {
     this.IsProcessing = false;
     this.QueueCompleted?.Invoke(this, e);
 }
Example #3
0
        /// <summary>
        /// The on queue completed.
        /// </summary>
        /// <param name="e">
        /// The e.
        /// </param>
        protected virtual void OnQueueCompleted(QueueCompletedEventArgs e)
        {
            QueueCompletedEventDelegate handler = this.QueueCompleted;
            if (handler != null)
            {
                handler(this, e);
            }

            this.IsProcessing = false;
        }