备忘:asp.net平台下线程安全集合类。
Class | Description | |
---|---|---|
BlockingCollection<T> | PRovides blocking and bounding capabilities for thread-safe collections that implement IProducerConsumerCollection<T>. | |
ConcurrentBag<T> | Represents a thread-safe, unordered collection of objects. | |
ConcurrentDictionary<TKey, TValue> | Represents a thread-safe collection of key/value pairs that can be accessed by multiple threads concurrently. | |
ConcurrentQueue<T> | Represents a thread-safe first in-first out (FIFO) collection. | |
ConcurrentStack<T> | Represents a thread-safe last in-first out (LIFO) collection. | |
OrderablePartitioner<TSource> | Represents a particular manner of splitting an orderable data source into multiple partitions. | |
Partitioner | Provides common partitioning strategies for arrays, lists, and enumerables. | |
Partitioner<TSource> | Represents a particular manner of splitting a data source into multiple partitions. |
新闻热点
疑难解答