Edit

Share via


FSharpRefCodec<T> Class

Definition

[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))

Type Parameters

T
Inheritance
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Core.FSharpRef<T>,FSharpRefSurrogate<T>>
FSharpRefCodec<T>
Attributes

Constructors

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

Methods

ConvertFromSurrogate(FSharpRefSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

Converts a value from the surrogate type to the field type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpRef<T>, FSharpRefSurrogate<T>)
ConvertToSurrogate(TField, TSurrogate)

Converts a value to the surrogate type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Writes a field.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Applies to