Edit

Share via


ConcurrentDictionaryCodec<TKey,TValue> Class

Definition

[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))

Type Parameters

TKey

The type of the t key.

TValue

The type of the t value.

Inheritance
ConcurrentDictionaryCodec<TKey,TValue>
Attributes

Constructors

ConcurrentDictionaryCodec<TKey,TValue>(IValueSerializer<ConcurrentDictionarySurrogate<TKey,TValue>>)

Initializes a new instance of the ConcurrentDictionaryCodec<TKey,TValue> class.

Methods

ConvertFromSurrogate(ConcurrentDictionarySurrogate<TKey,TValue>) System.Object.ConvertFromSurrogate(Orleans.Serialization.Codecs.ConcurrentDictionarySurrogate{`0,`1}@)
ConvertFromSurrogate(TSurrogate)

Converts a value from the surrogate type to the field type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ConcurrentDictionary<TKey,TValue>, ConcurrentDictionarySurrogate<TKey,TValue>) System.Object.ConvertToSurrogate(System.Collections.Concurrent.ConcurrentDictionary{`0,`1},Orleans.Serialization.Codecs.ConcurrentDictionarySurrogate{`0,`1}@)
ConvertToSurrogate(TField, TSurrogate)

Converts a value to the surrogate type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Writes a field.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Applies to