共用方式為


FSharpListCodec<T> 類別

定義

[Orleans.RegisterSerializer]
public class FSharpListCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpList<T>,Orleans.Serialization.FSharpListSurrogate<T>>
[<Orleans.RegisterSerializer>]
type FSharpListCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<List<'T>, FSharpListSurrogate<'T>>
Public Class FSharpListCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpList(Of T), FSharpListSurrogate(Of T))

類型參數

T
繼承
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpList<T>,FSharpListSurrogate<T>>
FSharpListCodec<T>
屬性

建構函式

FSharpListCodec<T>(IValueSerializer<FSharpListSurrogate<T>>)

方法

ConvertFromSurrogate(FSharpListSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

將值從 Surrogate 類型轉換為欄位類型。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpList<T>, FSharpListSurrogate<T>)
ConvertToSurrogate(TField, TSurrogate)

將值轉換為 Surrogate 型別。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

讀取值。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

寫入欄位。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

適用於