Redigera

Dela via


SortedSetCodec<T> Class

Definition

Serializer for SortedSet<T>.

[Orleans.RegisterSerializer]
public sealed class SortedSetCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Generic.SortedSet<T>,Orleans.Serialization.Codecs.SortedSetSurrogate<T>>
[<Orleans.RegisterSerializer>]
type SortedSetCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<SortedSet<'T>, SortedSetSurrogate<'T>>
Public NotInheritable Class SortedSetCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of SortedSet(Of T), SortedSetSurrogate(Of T))

Type Parameters

T

The element type.

Inheritance
Attributes

Constructors

SortedSetCodec<T>(IValueSerializer<SortedSetSurrogate<T>>)

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

Methods

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

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

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