Class BaseBlockingCollection<T>
Represents a thread-safe collection that provides blocking and bounding capabilities.
public class BaseBlockingCollection<T> : BlockingCollection<T>, IReadOnlyCollection<T>, IEnumerable<T>, ICollection, IEnumerable, IDisposable
Type Parameters
T
The type of elements in the collection.
- Inheritance
-
BaseBlockingCollection<T>
- Implements
-
IEnumerable<T>
Methods
- Clear()
Removes all items from the collection.