MessagePackSerializerGet Method (Type, SerializationContext) |
Namespace: MsgPack.Serialization
public static IMessagePackSingleObjectSerializer Get( Type targetType, SerializationContext context )
Exception | Condition |
---|---|
ArgumentNullException | targetType is null. Or, context is null. |
This method simply invokes GetSerializer(Type), so see the method description for details.
Although GetT(SerializationContext) is preferred, this method can be used from non-generic type or methods.