ConcurrentQueueExtensions Class
Provides extension methods for ConcurrentQueue<T>.
public static class ConcurrentQueueExtensionsMethods
| Name | Description |
|---|---|
| EnqueueRange<T>(ConcurrentQueue<T>, IEnumerable<T>) | Enqueues all items from an enumerable to the queue. |
| EnqueueRange<T>(ConcurrentQueue<T>, ReadOnlySpan<T>) | Enqueues all items from a span to the queue. |
| EnqueueRange<T>(ConcurrentQueue<T>, T[]) | Enqueues multiple items to the queue. |
EnqueueRange overloads
EnqueueRange<T>(ConcurrentQueue<T>, IEnumerable<T>)
ConcurrentQueueExtensions.csEnqueues all items from an enumerable to the queue.
public static void EnqueueRange<T>(this ConcurrentQueue<T> queue, IEnumerable<T> items)EnqueueRange<T>(ConcurrentQueue<T>, ReadOnlySpan<T>)
ConcurrentQueueExtensions.csEnqueues all items from a span to the queue.
public static void EnqueueRange<T>(this ConcurrentQueue<T> queue, ReadOnlySpan<T> items)EnqueueRange<T>(ConcurrentQueue<T>, T[])
ConcurrentQueueExtensions.csEnqueues multiple items to the queue.
public static void EnqueueRange<T>(this ConcurrentQueue<T> queue, params T[] items)