Edit

Share via


HashSetCodec<T> Class

Definition

Serializer for 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))

Type Parameters

T

The element type.

Inheritance
HashSetCodec<T>
Attributes
Implements

Constructors

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

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

Methods

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

Reads a value.

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

Writes a field.

Explicit Interface Implementations

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

Applies to