3 implementations of IProducerConsumerCollection
mscorlib (2)
system\Collections\Concurrent\ConcurrentQueue.cs (1)
46public class ConcurrentQueue<T> : IProducerConsumerCollection<T>, IReadOnlyCollection<T>
system\Collections\Concurrent\ConcurrentStack.cs (1)
55public class ConcurrentStack<T> : IProducerConsumerCollection<T>, IReadOnlyCollection<T>
System (1)
sys\system\collections\concurrent\ConcurrentBag.cs (1)
58public class ConcurrentBag<T> : IProducerConsumerCollection<T>, IReadOnlyCollection<T>
20 references to IProducerConsumerCollection
mscorlib (13)
system\Collections\Concurrent\ConcurrentQueue.cs (2)
227bool IProducerConsumerCollection<T>.TryAdd(T item) 245bool IProducerConsumerCollection<T>.TryTake(out T item)
system\Collections\Concurrent\ConcurrentStack.cs (2)
506bool IProducerConsumerCollection<T>.TryAdd(T item) 760bool IProducerConsumerCollection<T>.TryTake(out T item)
system\Collections\Concurrent\IProducerConsumerCollection.cs (9)
35/// Copies the elements of the <see cref="IProducerConsumerCollection{T}"/> to 40/// the elements copied from the <see cref="IProducerConsumerCollection{T}"/>. 58/// cref="IProducerConsumerCollection{T}"/>. 61/// cref="IProducerConsumerCollection{T}"/>.</param> 67/// Attempts to remove and return an object from the <see cref="IProducerConsumerCollection{T}"/>. 78/// Copies the elements contained in the <see cref="IProducerConsumerCollection{T}"/> to a new array. 80/// <returns>A new array containing the elements copied from the <see cref="IProducerConsumerCollection{T}"/>.</returns> 93private IProducerConsumerCollection<T> m_collection; // The collection being viewed. 99public SystemCollectionsConcurrent_ProducerConsumerCollectionDebugView(IProducerConsumerCollection<T> collection)
System (7)
sys\system\collections\concurrent\BlockingCollection.cs (4)
58private IProducerConsumerCollection<T> m_collection; 187public BlockingCollection(IProducerConsumerCollection<T> collection, int boundedCapacity) 213public BlockingCollection(IProducerConsumerCollection<T> collection) 226private void Initialize(IProducerConsumerCollection<T> collection, int boundedCapacity, int collectionCount)
sys\system\collections\concurrent\ConcurrentBag.cs (3)
185bool IProducerConsumerCollection<T>.TryAdd(T item) 1099IProducerConsumerCollection<T> m_collection; 1100public SystemThreadingCollection_IProducerConsumerCollectionDebugView(IProducerConsumerCollection<T> collection)