Edit

Share via


StackCodec<T> Class

Definition

Serializer for Stack<T>.

[Orleans.RegisterSerializer]
public sealed class StackCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.Stack<T>>
[<Orleans.RegisterSerializer>]
type StackCodec<'T> = class
    interface IFieldCodec<Stack<'T>>
    interface IFieldCodec
Public NotInheritable Class StackCodec(Of T)
Implements IFieldCodec(Of Stack(Of T))

Type Parameters

T

The element type.

Inheritance
StackCodec<T>
Attributes
Implements

Constructors

StackCodec<T>(IFieldCodec<T>)

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

Methods

ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Stack<T>)

Writes a field.

Applies to