SerializerRepositoryGetT Method (SerializationContext, Object) |
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public MessagePackSerializer<T> Get<T>(
SerializationContext context,
Object providerParameter
)
Public Function Get(Of T) (
context As SerializationContext,
providerParameter As Object
) As MessagePackSerializer(Of T)
public:
generic<typename T>
MessagePackSerializer<T>^ Get(
SerializationContext^ context,
Object^ providerParameter
)
member Get :
context : SerializationContext *
providerParameter : Object -> MessagePackSerializer<'T>
Parameters
- context
- Type: MsgPack.SerializationSerializationContext
A serialization context. - providerParameter
- Type: SystemObject
A provider specific parameter. See remarks section of GetSerializerT(Object) for details.
Type Parameters
- T
- Type of the object to be marshaled/unmarshaled.
Return Value
Type:
MessagePackSerializerTMessagePackSerializerT. If no appropriate mashalers has benn registered, then
null.
See Also