Edit

Share via


Serializer<T> Constructors

Definition

Overloads

Serializer<T>(SerializerSessionPool)

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

Serializer<T>(IFieldCodec<T>, SerializerSessionPool)

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

Serializer<T>(SerializerSessionPool)

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

public Serializer (Orleans.Serialization.Session.SerializerSessionPool sessionPool);
new Orleans.Serialization.Serializer<'T> : Orleans.Serialization.Session.SerializerSessionPool -> Orleans.Serialization.Serializer<'T>
Public Sub New (sessionPool As SerializerSessionPool)

Parameters

sessionPool
SerializerSessionPool

The session pool.

Applies to

Serializer<T>(IFieldCodec<T>, SerializerSessionPool)

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

public Serializer (Orleans.Serialization.Codecs.IFieldCodec<T> codec, Orleans.Serialization.Session.SerializerSessionPool sessionPool);
new Orleans.Serialization.Serializer<'T> : Orleans.Serialization.Codecs.IFieldCodec<'T> * Orleans.Serialization.Session.SerializerSessionPool -> Orleans.Serialization.Serializer<'T>
Public Sub New (codec As IFieldCodec(Of T), sessionPool As SerializerSessionPool)

Parameters

codec
IFieldCodec<T>

The codec.

sessionPool
SerializerSessionPool

The session pool.

Applies to