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)

将值从代理项类型转换为字段类型。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpSet<T>, FSharpSetSurrogate<T>)
ConvertToSurrogate(TField, TSurrogate)

将值转换为代理项类型。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

读取值。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

写入字段。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

适用于