Click or drag to resize
MessagePackSerializerGet Method (Type)
Gets existing or new IMessagePackSerializer instance with default context (Default).

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public static IMessagePackSingleObjectSerializer Get(
	Type targetType
)

Parameters

targetType
Type: SystemType
Target type.

Return Value

Type: IMessagePackSingleObjectSerializer
IMessagePackSingleObjectSerializer. If there is exiting one, returns it. Else the new instance will be created.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetType is null.
Remarks
See Also