Edit

Share via


FSharpListCodec<T> Class

Definition

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

Type Parameters

T
Inheritance
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpList<T>,FSharpListSurrogate<T>>
FSharpListCodec<T>
Attributes

Constructors

FSharpListCodec<T>(IValueSerializer<FSharpListSurrogate<T>>)

Methods

ConvertFromSurrogate(FSharpListSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

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

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpList<T>, FSharpListSurrogate<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