System.Collections.Concurrent.ConcurrentBag< T > Class Template Reference
Inheritance diagram for System.Collections.Concurrent.ConcurrentBag< T >:
Collaboration diagram for System.Collections.Concurrent.ConcurrentBag< T >:
Public Member Functions | |
ConcurrentBag () | |
ConcurrentBag (IEnumerable< T > collection) | |
void | Add (T item) |
bool | TryTake (out T result) |
bool | TryPeek (out T result) |
IEnumerator< T > | GetEnumerator () |
void | CopyTo (T[] array, int index) |
T[] | ToArray () |
Properties | |
int | Count [get] |
bool | IsEmpty [get] |
Detailed Description
Definition at line 42 of file ConcurrentBag.cs.
Constructor & Destructor Documentation
Definition at line 53 of file ConcurrentBag.cs.
System.Collections.Concurrent.ConcurrentBag< T >.ConcurrentBag | ( | IEnumerable< T > | collection | ) |
Definition at line 57 of file ConcurrentBag.cs.
Member Function Documentation
void System.Collections.Concurrent.ConcurrentBag< T >.Add | ( | T | item | ) |
Definition at line 63 of file ConcurrentBag.cs.
void System.Collections.Concurrent.ConcurrentBag< T >.CopyTo | ( | T[] | array, |
int | index | ||
) |
Implements System.Collections.Concurrent.IProducerConsumerCollection< T >.
Definition at line 224 of file ConcurrentBag.cs.
IEnumerator<T> System.Collections.Concurrent.ConcurrentBag< T >.GetEnumerator | ( | ) |
Definition at line 203 of file ConcurrentBag.cs.
T [] System.Collections.Concurrent.ConcurrentBag< T >.ToArray | ( | ) |
Implements System.Collections.Concurrent.IProducerConsumerCollection< T >.
Definition at line 245 of file ConcurrentBag.cs.
bool System.Collections.Concurrent.ConcurrentBag< T >.TryPeek | ( | out T | result | ) |
Definition at line 119 of file ConcurrentBag.cs.
bool System.Collections.Concurrent.ConcurrentBag< T >.TryTake | ( | out T | result | ) |
Implements System.Collections.Concurrent.IProducerConsumerCollection< T >.
Definition at line 78 of file ConcurrentBag.cs.
Property Documentation
|
get |
Definition at line 174 of file ConcurrentBag.cs.
|
get |
Definition at line 180 of file ConcurrentBag.cs.
The documentation for this class was generated from the following file: