MessagePackSerializerGet Method (Type, SerializationContext, Object) |
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static IMessagePackSingleObjectSerializer Get(
Type targetType,
SerializationContext context,
Object providerParameter
)
Public Shared Function Get (
targetType As Type,
context As SerializationContext,
providerParameter As Object
) As IMessagePackSingleObjectSerializer
public:
static IMessagePackSingleObjectSerializer^ Get(
Type^ targetType,
SerializationContext^ context,
Object^ providerParameter
)
static member Get :
targetType : Type *
context : SerializationContext *
providerParameter : Object -> IMessagePackSingleObjectSerializer
Parameters
- targetType
- Type: SystemType
Target type. - context
- Type: MsgPack.SerializationSerializationContext
SerializationContext to store known/created serializers.
- providerParameter
- Type: SystemObject
A provider specific parameter. See remarks section for details.
Return Value
Type:
IMessagePackSingleObjectSerializerIMessagePackSingleObjectSerializer.
If there is exiting one, returns it.
Else the new instance will be created.
Exceptions Remarks See Also