| UnpackHelpersUnpackCollectionToTDiscarded Method (Unpacker, IEnumerable, FuncObject, TDiscarded) | 
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 UnpackCollectionTo<TDiscarded>(
	Unpacker unpacker,
	IEnumerable collection,
	Func<Object, TDiscarded> addition
)
<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 UnpackCollectionTo(Of TDiscarded) ( 
	unpacker As Unpacker,
	collection As IEnumerable,
	addition As Func(Of Object, TDiscarded)
)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 TDiscarded>
static void UnpackCollectionTo(
	Unpacker^ unpacker, 
	IEnumerable^ collection, 
	Func<Object^, TDiscarded>^ addition
)
[<ObsoleteAttribute("This API is not used at generated serializers in current release, so this API will be removed future.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member UnpackCollectionTo : 
        unpacker : Unpacker * 
        collection : IEnumerable * 
        addition : Func<Object, 'TDiscarded> -> unit 
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: SystemFuncObject, TDiscarded
The delegate which contains the instance method of the collection. The parameter is unpacked object. 
Type Parameters
- TDiscarded
 - The return type of Add method.
 
Exceptions
See Also