Redigera

Dela via


ImmutableStackCodec<T> Class

Definition

Serializer for ImmutableStack<T>.

[Orleans.RegisterSerializer]
public sealed class ImmutableStackCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Immutable.ImmutableStack<T>,Orleans.Serialization.Codecs.ImmutableStackSurrogate<T>>
[<Orleans.RegisterSerializer>]
type ImmutableStackCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ImmutableStack<'T>, ImmutableStackSurrogate<'T>>
Public NotInheritable Class ImmutableStackCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ImmutableStack(Of T), ImmutableStackSurrogate(Of T))

Type Parameters

T

The element type.

Inheritance
Attributes

Constructors

ImmutableStackCodec<T>(IValueSerializer<ImmutableStackSurrogate<T>>)

Initializes a new instance of the ImmutableStackCodec<T> class.

Methods

ConvertFromSurrogate(ImmutableStackSurrogate<T>) System.Object.ConvertFromSurrogate(Orleans.Serialization.Codecs.ImmutableStackSurrogate{`0}@)
ConvertFromSurrogate(TSurrogate)

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

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableStack<T>, ImmutableStackSurrogate<T>) System.Object.ConvertToSurrogate(System.Collections.Immutable.ImmutableStack{`0},Orleans.Serialization.Codecs.ImmutableStackSurrogate{`0}@)
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