C# Class Amido.Testing.WebApi.Request.TestTasks

A collection of tasks to be run in parrallel.
Show file Open project: amido/Amido.Testing

Private Properties

Property Type Description

Public Methods

Method Description
Add ( System.Action task ) : TestTasks

Adds a new task to the collection.

TestTasks ( ) : System

Constructs a new TestTasks list.

Wait ( ) : void

Forces the main thread to wait until all tasks in the collection have completed.

Method Details

Add() public method

Adds a new task to the collection.
public Add ( System.Action task ) : TestTasks
task System.Action The action to run.
return TestTasks

TestTasks() public method

Constructs a new TestTasks list.
public TestTasks ( ) : System
return System

Wait() public method

Forces the main thread to wait until all tasks in the collection have completed.
public Wait ( ) : void
return void