ConcurrentDictionaryCodec<TKey,TValue> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Orleans.RegisterSerializer]
public sealed class ConcurrentDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>,Orleans.Serialization.Codecs.ConcurrentDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type ConcurrentDictionaryCodec<'Key, 'Value> = class
inherit GeneralizedReferenceTypeSurrogateCodec<ConcurrentDictionary<'Key, 'Value>, ConcurrentDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class ConcurrentDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ConcurrentDictionary(Of TKey, TValue), ConcurrentDictionarySurrogate(Of TKey, TValue))
类型参数
- TKey
t 键的类型。
- TValue
t 值的类型。
- 继承
-
GeneralizedReferenceTypeSurrogateCodec<ConcurrentDictionary<TKey,TValue>,ConcurrentDictionarySurrogate<TKey,TValue>>ConcurrentDictionaryCodec<TKey,TValue>
- 属性
构造函数
ConcurrentDictionaryCodec<TKey,TValue>(IValueSerializer<ConcurrentDictionarySurrogate<TKey,TValue>>) |
初始化 ConcurrentDictionaryCodec<TKey,TValue> 类的新实例。 |