共用方式為


TupleCodec<T1,T2>(IFieldCodec<T1>, IFieldCodec<T2>) 建構函式

定義

初始化 TupleCodec<T1,T2> 類別的新執行個體。

public TupleCodec(Orleans.Serialization.Codecs.IFieldCodec<T1> item1Codec, Orleans.Serialization.Codecs.IFieldCodec<T2> item2Codec);
new Orleans.Serialization.Codecs.TupleCodec<'T1, 'T2> : Orleans.Serialization.Codecs.IFieldCodec<'T1> * Orleans.Serialization.Codecs.IFieldCodec<'T2> -> Orleans.Serialization.Codecs.TupleCodec<'T1, 'T2>
Public Sub New (item1Codec As IFieldCodec(Of T1), item2Codec As IFieldCodec(Of T2))

參數

item1Codec
IFieldCodec<T1>

T1編解碼器。

item2Codec
IFieldCodec<T2>

T2編解碼器。

適用於