UnpackHelpersUnpackMapToTKey, TValue Method (Unpacker, MessagePackSerializerTKey, MessagePackSerializerTValue, IDictionaryTKey, TValue) |
Note: This API is now obsolete.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [ObsoleteAttribute("This API is not used at generated serializers in current release, so this API will be removed future.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static void UnpackMapTo<TKey, TValue>(
Unpacker unpacker,
MessagePackSerializer<TKey> keySerializer,
MessagePackSerializer<TValue> valueSerializer,
IDictionary<TKey, TValue> dictionary
)
<ObsoleteAttribute("This API is not used at generated serializers in current release, so this API will be removed future.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Sub UnpackMapTo(Of TKey, TValue) (
unpacker As Unpacker,
keySerializer As MessagePackSerializer(Of TKey),
valueSerializer As MessagePackSerializer(Of TValue),
dictionary As IDictionary(Of TKey, TValue)
)
public:
[ObsoleteAttribute(L"This API is not used at generated serializers in current release, so this API will be removed future.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
generic<typename TKey, typename TValue>
static void UnpackMapTo(
Unpacker^ unpacker,
MessagePackSerializer<TKey>^ keySerializer,
MessagePackSerializer<TValue>^ valueSerializer,
IDictionary<TKey, TValue>^ dictionary
)
[<ObsoleteAttribute("This API is not used at generated serializers in current release, so this API will be removed future.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member UnpackMapTo :
unpacker : Unpacker *
keySerializer : MessagePackSerializer<'TKey> *
valueSerializer : MessagePackSerializer<'TValue> *
dictionary : IDictionary<'TKey, 'TValue> -> unit
Parameters
- unpacker
- Type: MsgPackUnpacker
The unpacker to unpack the underlying stream. - keySerializer
- Type: MsgPack.SerializationMessagePackSerializerTKey
The serializer to deserialize key elements. - valueSerializer
- Type: MsgPack.SerializationMessagePackSerializerTValue
The serializer to deserialize value elements. - dictionary
- Type: System.Collections.GenericIDictionaryTKey, TValue
The generic dictionary instance to be added unpacked elements.
Type Parameters
- TKey
- The type of keys.
- TValue
- The type of values.
Exceptions See Also