Provides some common functionality for concurrent collections.
More...
|
static void | Clear< T > (this ConcurrentQueue< T > queue) |
| Clears the queue.
|
static void | Clear< T > (this ConcurrentBag< T > bag) |
| Clears the bag.
|
Provides some common functionality for concurrent collections.
- some of this functionality is only required for net462 as dotnet already contains them
◆ Clear< T >() [1/2]
void PeanutButter.Utils.ConcurrentCollectionExtensions.Clear< T > |
( |
this ConcurrentBag< T > | bag | ) |
|
|
static |
Clears the bag.
- Parameters
-
- Template Parameters
-
◆ Clear< T >() [2/2]
void PeanutButter.Utils.ConcurrentCollectionExtensions.Clear< T > |
( |
this ConcurrentQueue< T > | queue | ) |
|
|
static |
Clears the queue.
- Parameters
-
- Template Parameters
-
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/ConcurrentCollectionExtensions.cs