CollectionUtilities..::..AddRange<(Of <(<'T>)>)> Method (ICollection<(Of <(<'T>)>)>, IEnumerable<(Of <(<'Task<(Of <(<'T>)>)>>)>)>)

Unwraps a list of Tasks and adds their results to the target collection.

Namespace:  Tortuga.Anchor
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public static Task AddRange<T>(
	ICollection<T> target,
	IEnumerable<Task<T>> list
)
Public Shared Function AddRange(Of T) ( _
	target As ICollection(Of T), _
	list As IEnumerable(Of Task(Of T)) _
) As Task

Type Parameters

T

Parameters

target
Type: ICollection<(Of <(<'T>)>)>
The target collection to be added to.
list
Type: IEnumerable<(Of <(<'Task<(Of <(<'T>)>)>>)>)>
The list.