Redigera

Dela via


AsyncPipeline.AddRange Method

Definition

Overloads

AddRange(IEnumerable<Task>)

Adds a collection of tasks to this AsyncPipeline.

AddRange<T>(IEnumerable<Task<T>>)

Adds a collection of tasks to this AsyncPipeline.

AddRange(IEnumerable<Task>)

Source:
AsyncPipeline.cs

Adds a collection of tasks to this AsyncPipeline.

public void AddRange (System.Collections.Generic.IEnumerable<System.Threading.Tasks.Task> tasks);
member this.AddRange : seq<System.Threading.Tasks.Task> -> unit
Public Sub AddRange (tasks As IEnumerable(Of Task))

Parameters

tasks
IEnumerable<Task>

A collection of tasks to add to this AsyncPipeline.

Applies to

AddRange<T>(IEnumerable<Task<T>>)

Source:
AsyncPipeline.cs

Adds a collection of tasks to this AsyncPipeline.

public void AddRange<T> (System.Collections.Generic.IEnumerable<System.Threading.Tasks.Task<T>> tasks);
member this.AddRange : seq<System.Threading.Tasks.Task<'T>> -> unit
Public Sub AddRange(Of T) (tasks As IEnumerable(Of Task(Of T)))

Type Parameters

T

Parameters

tasks
IEnumerable<Task<T>>

A collection of tasks to add to this AsyncPipeline.

Applies to