Click or drag to resize
SerializerRepositoryRegisterT Method

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public bool Register<T>(
	MessagePackSerializer<T> serializer
)

Parameters

serializer
Type: MsgPack.SerializationMessagePackSerializerT
MessagePackSerializerT instance.

Type Parameters

T
The type of serialization target.

Return Value

Type: Boolean
true if success to register; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionserializer is null.
See Also