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)

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

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

适用于