Click or drag to resize
UnpackHelpersUnpackCollectionTo Method (Unpacker, IEnumerable, ActionObject)

Note: This API is now obsolete.

Unpacks the collection with the specified method as colletion of MessagePackObject.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("This API is not used at generated serializers in current release, so this API will be removed future.")]
public static void UnpackCollectionTo(
	Unpacker unpacker,
	IEnumerable collection,
	Action<Object> addition
)

Parameters

unpacker
Type: MsgPackUnpacker
The unpacker to unpack the underlying stream.
collection
Type: System.CollectionsIEnumerable
The non-generic collection instance to be added unpacked elements.
addition
Type: SystemActionObject
The delegate which contains the instance method of the collection. The parameter is unpacked object.
Exceptions
ExceptionCondition
SerializationException Failed to deserialization.
See Also