Edit

Share via


ImmutableQueueCodec<T> Class

Definition

Serializer for ImmutableQueue<T>.

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

Type Parameters

T

The element type.

Inheritance
Attributes

Constructors

ImmutableQueueCodec<T>(IValueSerializer<ImmutableQueueSurrogate<T>>)

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

Methods

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

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

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