3 implementations of IProducerConsumerCollection
mscorlib (2)
system\Collections\Concurrent\ConcurrentQueue.cs (1)
46
public class ConcurrentQueue<T> :
IProducerConsumerCollection
<T>, IReadOnlyCollection<T>
system\Collections\Concurrent\ConcurrentStack.cs (1)
55
public class ConcurrentStack<T> :
IProducerConsumerCollection
<T>, IReadOnlyCollection<T>
System (1)
sys\system\collections\concurrent\ConcurrentBag.cs (1)
58
public class ConcurrentBag<T> :
IProducerConsumerCollection
<T>, IReadOnlyCollection<T>
20 references to IProducerConsumerCollection
mscorlib (13)
system\Collections\Concurrent\ConcurrentQueue.cs (2)
227
bool
IProducerConsumerCollection
<T>.TryAdd(T item)
245
bool
IProducerConsumerCollection
<T>.TryTake(out T item)
system\Collections\Concurrent\ConcurrentStack.cs (2)
506
bool
IProducerConsumerCollection
<T>.TryAdd(T item)
760
bool
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>
93
private
IProducerConsumerCollection
<T> m_collection; // The collection being viewed.
99
public SystemCollectionsConcurrent_ProducerConsumerCollectionDebugView(
IProducerConsumerCollection
<T> collection)
System (7)
sys\system\collections\concurrent\BlockingCollection.cs (4)
58
private
IProducerConsumerCollection
<T> m_collection;
187
public BlockingCollection(
IProducerConsumerCollection
<T> collection, int boundedCapacity)
213
public BlockingCollection(
IProducerConsumerCollection
<T> collection)
226
private void Initialize(
IProducerConsumerCollection
<T> collection, int boundedCapacity, int collectionCount)
sys\system\collections\concurrent\ConcurrentBag.cs (3)
185
bool
IProducerConsumerCollection
<T>.TryAdd(T item)
1099
IProducerConsumerCollection
<T> m_collection;
1100
public SystemThreadingCollection_IProducerConsumerCollectionDebugView(
IProducerConsumerCollection
<T> collection)