MessagePackSerializerGetT Method (SerializationContext) |
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static MessagePackSerializer<T> Get<T>(
SerializationContext context
)
Public Shared Function Get(Of T) (
context As SerializationContext
) As MessagePackSerializer(Of T)
public:
generic<typename T>
static MessagePackSerializer<T>^ Get(
SerializationContext^ context
)
static member Get :
context : SerializationContext -> MessagePackSerializer<'T>
Parameters
- context
- Type: MsgPack.SerializationSerializationContext
SerializationContext to store known/created serializers.
Type Parameters
- T
- Target type.
Return Value
Type:
MessagePackSerializerTMessagePackSerializerT.
If there is exiting one, returns it.
Else the new instance will be created.
Exceptions Remarks See Also