interface IProducerConsumerCollection<T>

in global :: System . Collections . Concurrent

Defines methods to manipulate thread-safe collections intended for producer/consumer usage. This interface provides a unified representation for producer/consumer collections so that higher level abstractions such as can use the collection as the underlying storage mechanism.

  • T Specifies the type of elements in the collection.

public void CopyTo( T[] array, int index )

😔 No documentation found.

public bool TryAdd( T item )

😔 No documentation found.

public bool TryTake( ref T item )

😔 No documentation found.

public T[] ToArray( )

😔 No documentation found.