Redigera

Dela via


FSharpSetCodec<T> Class

Definition

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

Type Parameters

T
Inheritance
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpSet<T>,FSharpSetSurrogate<T>>
FSharpSetCodec<T>
Attributes

Constructors

FSharpSetCodec<T>(IValueSerializer<FSharpSetSurrogate<T>>)

Methods

ConvertFromSurrogate(FSharpSetSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

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

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