共用方式為


HashSetCodec<T> 類別

定義

HashSet<T> 序列化程式。

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

類型參數

T

元素類型。

繼承
HashSetCodec<T>
屬性
實作

建構函式

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

初始化 HashSetCodec<T> 類別的新執行個體。

方法

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

讀取值。

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

寫入欄位。

適用於