共用方式為


FSharpSetCodec<T> 類別

定義

[Orleans.RegisterSerializer]
public class FSharpSetCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpSet<T>,Orleans.Serialization.FSharpSetSurrogate<T>>
[<Orleans.RegisterSerializer>]
type FSharpSetCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<Set<'T>, FSharpSetSurrogate<'T>>
Public Class FSharpSetCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpSet(Of T), FSharpSetSurrogate(Of T))

類型參數

T
繼承
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpSet<T>,FSharpSetSurrogate<T>>
FSharpSetCodec<T>
屬性

建構函式

FSharpSetCodec<T>(IValueSerializer<FSharpSetSurrogate<T>>)

方法

ConvertFromSurrogate(FSharpSetSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

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

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

適用於