Click or drag to resize
NonGenericDictionaryMessagePackSerializerTDictionary Class
Provides basic features for non-generic dictionary serializers.
Inheritance Hierarchy
SystemObject
  MsgPack.SerializationMessagePackSerializerTDictionary
    MsgPack.Serialization.CollectionSerializersNonGenericDictionaryMessagePackSerializerTDictionary

Namespace: MsgPack.Serialization.CollectionSerializers
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public abstract class NonGenericDictionaryMessagePackSerializer<TDictionary> : MessagePackSerializer<TDictionary>, 
	ICollectionInstanceFactory
where TDictionary : IDictionary

Type Parameters

TDictionary
The type of the dictionary.

The NonGenericDictionaryMessagePackSerializerTDictionary type exposes the following members.

Constructors
  NameDescription
Protected methodNonGenericDictionaryMessagePackSerializerTDictionary
Initializes a new instance of the NonGenericDictionaryMessagePackSerializerTDictionary class.
Top
Properties
Methods
  NameDescription
Protected methodCreateInstance
Creates a new collection instance with specified initial capacity.
Public methodPack
Serializes specified object to the Stream.
(Inherited from MessagePackSerializerT.)
Public methodPackSingleObject
Serializes specified object to the array of Byte.
(Inherited from MessagePackSerializerT.)
Public methodPackTo
Serializes specified object with specified Packer.
(Inherited from MessagePackSerializerT.)
Protected methodPackToCore
Serializes specified object with specified Packer.
(Overrides MessagePackSerializerTPackToCore(Packer, T).)
Public methodUnpack
Deserialize object from the Stream.
(Inherited from MessagePackSerializerT.)
Public methodUnpackFrom
Deserializes object with specified Unpacker.
(Inherited from MessagePackSerializerT.)
Protected methodUnpackFromCore
Deserializes object with specified Unpacker.
(Overrides MessagePackSerializerTUnpackFromCore(Unpacker).)
Protected methodUnpackNil
Unpacks the nil value.
(Inherited from MessagePackSerializerT.)
Public methodUnpackSingleObject
Deserializes a single object from the array of Byte which contains a serialized object.
(Inherited from MessagePackSerializerT.)
Public methodUnpackTo
Deserializes collection items with specified Unpacker and stores them to collection.
(Inherited from MessagePackSerializerT.)
Protected methodUnpackToCore
Deserializes collection items with specified Unpacker and stores them to collection.
(Overrides MessagePackSerializerTUnpackToCore(Unpacker, T).)
Top
Remarks
This class provides framework to implement variable collection serializer, and this type seals some virtual members to maximize future backward compatibility. If you cannot use this class, you can implement your own serializer which inherits MessagePackSerializerT and implements ICollectionInstanceFactory.
See Also