DictionaryMessagePackSerializerBaseTDictionary, TKey, TValue Class |
Namespace: MsgPack.Serialization.CollectionSerializers
public abstract class DictionaryMessagePackSerializerBase<TDictionary, TKey, TValue> : MessagePackSerializer<TDictionary>, ICollectionInstanceFactory where TDictionary : Object, IEnumerable<KeyValuePair<TKey, TValue>>
The DictionaryMessagePackSerializerBaseTDictionary, TKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
DictionaryMessagePackSerializerBaseTDictionary, TKey, TValue |
Initializes a new instance of the DictionaryMessagePackSerializerBaseTDictionary, TKey, TValue class.
|
Name | Description | |
---|---|---|
OwnerContext |
Gets a SerializationContext which owns this serializer.
(Inherited from MessagePackSerializerT.) | |
PackerCompatibilityOptions |
Gets the packer compatibility options for this instance.
(Inherited from MessagePackSerializerT.) |
Name | Description | |
---|---|---|
AddItem |
When implemented by derive class,
adds the deserialized item to the collection on TDictionary specific manner
to implement UnpackToCore(Unpacker, TDictionary).
| |
CreateInstance |
Creates a new collection instance with specified initial capacity.
| |
GetCount |
When overridden in derived class, returns count of the dictionary.
| |
Pack |
Serializes specified object to the Stream.
(Inherited from MessagePackSerializerT.) | |
PackSingleObject |
Serializes specified object to the array of Byte.
(Inherited from MessagePackSerializerT.) | |
PackTo |
Serializes specified object with specified Packer.
(Inherited from MessagePackSerializerT.) | |
PackToCore |
Serializes specified object with specified Packer.
(Overrides MessagePackSerializerTPackToCore(Packer, T).) | |
Unpack |
Deserialize object from the Stream.
(Inherited from MessagePackSerializerT.) | |
UnpackFrom |
Deserializes object with specified Unpacker.
(Inherited from MessagePackSerializerT.) | |
UnpackFromCore |
Deserializes object with specified Unpacker.
(Overrides MessagePackSerializerTUnpackFromCore(Unpacker).) | |
UnpackNil |
Unpacks the nil value.
(Inherited from MessagePackSerializerT.) | |
UnpackSingleObject |
Deserializes a single object from the array of Byte which contains a serialized object.
(Inherited from MessagePackSerializerT.) | |
UnpackTo |
Deserializes collection items with specified Unpacker and stores them to collection.
(Inherited from MessagePackSerializerT.) | |
UnpackToCore |
Deserializes collection items with specified Unpacker and stores them to collection.
(Overrides MessagePackSerializerTUnpackToCore(Unpacker, T).) |