Click or drag to resize
SerializationContextGetSerializer Method (Type, Object)
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,
	Object providerParameter
)

Parameters

targetType
Type: SystemType
Type of the serialization target.
providerParameter
Type: SystemObject
A provider specific parameter. See remarks section of GetSerializerT(Object) for details.

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