Esempio n. 1
0
 /// <summary>
 /// Adds new item to the processing queue, even when the bounded capacity reached
 /// </summary>
 /// <param name="element">New item</param>
 protected void AddForced(T element)
 {
     _queue.AddForced(element);
     if (Profiling.Profiler.IsProfilingEnabled)
     {
         Profiling.Profiler.QueueAsyncProcessorElementCountIncreased(this.Name, ElementCount, QueueCapacity);
     }
 }