Redigera

Dela via


SortedDictionaryCodec<TKey,TValue> Class

Definition

[Orleans.RegisterSerializer]
public sealed class SortedDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Generic.SortedDictionary<TKey,TValue>,Orleans.Serialization.Codecs.SortedDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type SortedDictionaryCodec<'Key, 'Value> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<SortedDictionary<'Key, 'Value>, SortedDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class SortedDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of SortedDictionary(Of TKey, TValue), SortedDictionarySurrogate(Of TKey, TValue))

Type Parameters

TKey

The key type.

TValue

The value type.

Inheritance
SortedDictionaryCodec<TKey,TValue>
Attributes

Constructors

SortedDictionaryCodec<TKey,TValue>(IValueSerializer<SortedDictionarySurrogate<TKey,TValue>>)

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

Methods

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

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

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(SortedDictionary<TKey,TValue>, SortedDictionarySurrogate<TKey,TValue>) System.Object.ConvertToSurrogate(System.Collections.Generic.SortedDictionary{`0,`1},Orleans.Serialization.Codecs.SortedDictionarySurrogate{`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