Click or drag to resize
NonGenericEnumerableMessagePackSerializerBaseTCollection Class
Provides basic features for non-dictionary non-generic collection serializers.
Inheritance Hierarchy

Namespace: MsgPack.Serialization.CollectionSerializers
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public abstract class NonGenericEnumerableMessagePackSerializerBase<TCollection> : MessagePackSerializer<TCollection>, 
	ICollectionInstanceFactory
where TCollection : IEnumerable

Type Parameters

TCollection
The type of the collection.

The NonGenericEnumerableMessagePackSerializerBaseTCollection type exposes the following members.

Constructors
  NameDescription
Protected methodNonGenericEnumerableMessagePackSerializerBaseTCollection
Initializes a new instance of the NonGenericEnumerableMessagePackSerializerBaseTCollection class.
Top
Properties
Methods
  NameDescription
Protected methodAddItem
When implemented by derive class, adds the deserialized item to the collection on TCollection specific manner to implement UnpackToCore(Unpacker, TCollection).
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.
(Inherited from MessagePackSerializerT.)
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.
(Inherited from MessagePackSerializerT.)
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