Compartilhar via


HashSetCodec<T> Classe

Definição

Serializador para HashSet<T>.

[Orleans.RegisterSerializer]
public sealed class HashSetCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.HashSet<T>>
[Orleans.RegisterSerializer]
public sealed class HashSetCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.HashSet<T>>, Orleans.Serialization.Serializers.IBaseCodec<System.Collections.Generic.HashSet<T>>
[<Orleans.RegisterSerializer>]
type HashSetCodec<'T> = class
    interface IFieldCodec<HashSet<'T>>
    interface IFieldCodec
[<Orleans.RegisterSerializer>]
type HashSetCodec<'T> = class
    interface IFieldCodec<HashSet<'T>>
    interface IFieldCodec
    interface IBaseCodec<HashSet<'T>>
    interface IBaseCodec
Public NotInheritable Class HashSetCodec(Of T)
Implements IFieldCodec(Of HashSet(Of T))
Public NotInheritable Class HashSetCodec(Of T)
Implements IBaseCodec(Of HashSet(Of T)), IFieldCodec(Of HashSet(Of T))

Parâmetros de tipo

T

O tipo de elemento.

Herança
HashSetCodec<T>
Atributos
Implementações

Construtores

HashSetCodec<T>(IFieldCodec<T>, IFieldCodec<IEqualityComparer<T>>)

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

Métodos

ReadValue<TInput>(Reader<TInput>, Field)

Lê um valor.

Serialize<TBufferWriter>(Writer<TBufferWriter>, HashSet<T>)

Serializador para HashSet<T>.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, HashSet<T>)

Grava um campo.

Implantações explícitas de interface

IBaseCodec<HashSet<T>>.Deserialize<TInput>(Reader<TInput>, HashSet<T>)

Serializador para HashSet<T>.

Aplica-se a