Edit

Share via


SerializationManager.Register Method

Definition

Overloads

Register(Type, DeepCopier, Serializer, Deserializer)

Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.

Register(Type, SerializationManager+DeepCopier, SerializationManager+Serializer, SerializationManager+Deserializer)

Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.

Register(Type, DeepCopier, Serializer, Deserializer)

Source:
SerializationManager.cs

Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.

public void Register (Type t, Orleans.Serialization.DeepCopier cop, Orleans.Serialization.Serializer ser, Orleans.Serialization.Deserializer deser);
member this.Register : Type * Orleans.Serialization.DeepCopier * Orleans.Serialization.Serializer * Orleans.Serialization.Deserializer -> unit
Public Sub Register (t As Type, cop As DeepCopier, ser As Serializer, deser As Deserializer)

Parameters

t
Type

Type to be registered.

cop
DeepCopier

DeepCopier function for this type.

ser
Serializer

Serializer function for this type.

deser
Deserializer

Deserializer function for this type.

Applies to

Register(Type, SerializationManager+DeepCopier, SerializationManager+Serializer, SerializationManager+Deserializer)

Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.

public void Register (Type t, Orleans.Serialization.SerializationManager.DeepCopier cop, Orleans.Serialization.SerializationManager.Serializer ser, Orleans.Serialization.SerializationManager.Deserializer deser);
member this.Register : Type * Orleans.Serialization.SerializationManager.DeepCopier * Orleans.Serialization.SerializationManager.Serializer * Orleans.Serialization.SerializationManager.Deserializer -> unit
Public Sub Register (t As Type, cop As SerializationManager.DeepCopier, ser As SerializationManager.Serializer, deser As SerializationManager.Deserializer)

Parameters

t
Type

Type to be registered.

cop
SerializationManager.DeepCopier

DeepCopier function for this type.

ser
SerializationManager.Serializer

Serializer function for this type.

deser
SerializationManager.Deserializer

Deserializer function for this type.

Applies to