Edit

Share via


ImmutableSortedDictionaryCodec<TKey,TValue> Class

Definition

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

Type Parameters

TKey

The key type.

TValue

The value type.

Inheritance
ImmutableSortedDictionaryCodec<TKey,TValue>
Attributes

Constructors

ImmutableSortedDictionaryCodec<TKey,TValue>(IValueSerializer<ImmutableSortedDictionarySurrogate<TKey,TValue>>)

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

Methods

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

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

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