ConcurrentDictionaryCodec<TKey,TValue> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
的 ConcurrentDictionary<TKey,TValue> 序列化程式。
[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> 類別的新執行個體。 |