MessagePackSerializerGet Method (Type) |
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static IMessagePackSingleObjectSerializer Get(
Type targetType
)
Public Shared Function Get (
targetType As Type
) As IMessagePackSingleObjectSerializer
public:
static IMessagePackSingleObjectSerializer^ Get(
Type^ targetType
)
static member Get :
targetType : Type -> IMessagePackSingleObjectSerializer
Parameters
- targetType
- Type: SystemType
Target type.
Return Value
Type:
IMessagePackSingleObjectSerializerIMessagePackSingleObjectSerializer.
If there is exiting one, returns it.
Else the new instance will be created.
Exceptions Remarks
This method simply invokes GetSerializer(Type), so see the method description for details.
Although GetT is preferred,
this method can be used from non-generic type or methods.
See Also