class ConcurrentBag<T>
in global :: System . Collections . Concurrent
Represents a thread-safe, unordered collection of objects.
TThe type of the elements to be stored in the collection.
public int Count { get; }
Gets the number of elements contained in the .
- Returns The number of elements contained in the .
public bool IsEmpty { get; }
Gets a value that indicates whether the is empty.
- Returns if the is empty; otherwise, .
public void Add( T item )
😔 No documentation found.
public bool TryTake( ref T result )
😔 No documentation found.
public bool TryPeek( ref T result )
😔 No documentation found.
public void CopyTo( T[] array, int index )
😔 No documentation found.
public T[] ToArray( )
😔 No documentation found.
public void Clear( )
😔 No documentation found.
public IEnumerator<T> GetEnumerator( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public ConcurrentBag<T>( )
😔 No documentation found.
public ConcurrentBag<T>( IEnumerable<T> collection )
😔 No documentation found.