Compartilhar via


ImmutableHashSetCodec<T> Classe

Definição

Serializador para ImmutableHashSet<T>.

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

Parâmetros de tipo

T

O tipo de elemento.

Herança
Atributos

Construtores

ImmutableHashSetCodec<T>(IValueSerializer<ImmutableHashSetSurrogate<T>>)

Inicializa uma nova instância da classe ImmutableHashSetCodec<T>.

Métodos

ConvertFromSurrogate(ImmutableHashSetSurrogate<T>)

Serializador para ImmutableHashSet<T>.

ConvertFromSurrogate(TSurrogate)

Converte um valor do tipo alternativo para o tipo de campo.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableHashSet<T>, ImmutableHashSetSurrogate<T>)

Serializador para ImmutableHashSet<T>.

ConvertToSurrogate(TField, TSurrogate)

Converte um valor no tipo alternativo.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Lê um valor.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Grava um campo.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Aplica-se a