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)

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

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpList<T>, FSharpListSurrogate<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>)

适用于