Class BaseConcurrentQueue<T>
Represents a thread-safe first in-first out (FIFO) collection for storing objects. Inherits from ConcurrentQueue<T>.
public class BaseConcurrentQueue<T> : ConcurrentQueue<T>, IProducerConsumerCollection<T>, ICollection, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
T
The type of elements in the queue.
- Inheritance
-
BaseConcurrentQueue<T>
- Implements
-
IEnumerable<T>
Methods
- Clear()
Removes all items from the queue in a thread-safe manner.