Click or drag to resize
ResolveSerializerEventArgsSetSerializerT Method
Sets the serializer instance which can handle TargetType type instance correctly.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public void SetSerializer<T>(
	MessagePackSerializer<T> foundSerializer
)

Parameters

foundSerializer
Type: MsgPack.SerializationMessagePackSerializerT
The serializer instance which can handle TargetType type instance correctly; null when you cannot provide appropriate serializer instance.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:MsgPack.Serialization.ResolveSerializerEventArgs.SetSerializer``1(MsgPack.Serialization.MessagePackSerializer{``0})"]

Remarks
If you decide to delegate serializer generation to MessagePack for CLI infrastructure, do not call this method in your event handler or specify null for foundSerializer.
See Also