protected void OnQueueIsEmpty() { if (QueueIsEmpty != null) { QueueIsEmpty?.Invoke(); } }
protected virtual void OnQueueIsEmpty() { QueueIsEmpty?.Invoke(this, EventArgs.Empty); }