Edit

Share via


ImmutableSortedSetCodec<T> Class

Definition

Serializer for ImmutableSortedSet<T>.

[Orleans.RegisterSerializer]
public sealed class ImmutableSortedSetCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Immutable.ImmutableSortedSet<T>,Orleans.Serialization.Codecs.ImmutableSortedSetSurrogate<T>>
[<Orleans.RegisterSerializer>]
type ImmutableSortedSetCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ImmutableSortedSet<'T>, ImmutableSortedSetSurrogate<'T>>
Public NotInheritable Class ImmutableSortedSetCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ImmutableSortedSet(Of T), ImmutableSortedSetSurrogate(Of T))

Type Parameters

T

The element type.

Inheritance
Attributes

Constructors

ImmutableSortedSetCodec<T>(IValueSerializer<ImmutableSortedSetSurrogate<T>>)

Initializes a new instance of the ImmutableSortedSetCodec<T> class.

Methods

ConvertFromSurrogate(ImmutableSortedSetSurrogate<T>) System.Object.ConvertFromSurrogate(Orleans.Serialization.Codecs.ImmutableSortedSetSurrogate{`0}@)
ConvertFromSurrogate(TSurrogate)

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

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableSortedSet<T>, ImmutableSortedSetSurrogate<T>) System.Object.ConvertToSurrogate(System.Collections.Immutable.ImmutableSortedSet{`0},Orleans.Serialization.Codecs.ImmutableSortedSetSurrogate{`0}@)
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