Freigeben über


SortedSetCodec<T> Klasse

Definition

Serialisierer für 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))

Typparameter

T

Der Elementtyp.

Vererbung
Attribute

Konstruktoren

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

Initialisiert eine neue Instanz der SortedSetCodec<T>-Klasse.

Methoden

ConvertFromSurrogate(SortedSetSurrogate<T>)

Serialisierer für SortedSet<T>.

ConvertFromSurrogate(TSurrogate)

Konvertiert einen Wert vom Ersatztyp in den Feldtyp.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(SortedSet<T>, SortedSetSurrogate<T>)

Serialisierer für SortedSet<T>.

ConvertToSurrogate(TField, TSurrogate)

Konvertiert einen Wert in den Ersatztyp.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Liest einen Wert.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Schreibt ein Feld.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Gilt für: