Click or drag to resize
SerializationContextGetSerializer Method (Type)
Gets the serializer for the specified Type.

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

Parameters

targetType
Type: SystemType
Type of the serialization target.

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