Partager via


FSharpSetCodec<T> Classe

Définition

[Orleans.RegisterSerializer]
public class FSharpSetCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpSet<T>,Orleans.Serialization.FSharpSetSurrogate<T>>
[<Orleans.RegisterSerializer>]
type FSharpSetCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<Set<'T>, FSharpSetSurrogate<'T>>
Public Class FSharpSetCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpSet(Of T), FSharpSetSurrogate(Of T))

Paramètres de type

T
Héritage
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpSet<T>,FSharpSetSurrogate<T>>
FSharpSetCodec<T>
Attributs

Constructeurs

FSharpSetCodec<T>(IValueSerializer<FSharpSetSurrogate<T>>)

Méthodes

ConvertFromSurrogate(FSharpSetSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

Convertit une valeur du type de substitution en type de champ.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpSet<T>, FSharpSetSurrogate<T>)
ConvertToSurrogate(TField, TSurrogate)

Convertit une valeur en type de substitution.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Lit une valeur.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Écrit un champ.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

S’applique à