共用方式為


FSharpRefCodec<T> 類別

定義

[Orleans.RegisterSerializer]
public class FSharpRefCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Core.FSharpRef<T>,Orleans.Serialization.FSharpRefSurrogate<T>>
[<Orleans.RegisterSerializer>]
type FSharpRefCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ref<'T>, FSharpRefSurrogate<'T>>
Public Class FSharpRefCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpRef(Of T), FSharpRefSurrogate(Of T))

類型參數

T
繼承
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Core.FSharpRef<T>,FSharpRefSurrogate<T>>
FSharpRefCodec<T>
屬性

建構函式

FSharpRefCodec<T>(IValueSerializer<FSharpRefSurrogate<T>>)

方法

ConvertFromSurrogate(FSharpRefSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

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

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpRef<T>, FSharpRefSurrogate<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>)

適用於