C# Class Encog.Engine.Concurrency.Job.TaskGroup

A task group is a group of tasks that you would like to execute at once. You can wait for all tasks in a task group to exit before your program continues.
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
TaskGroup ( int id ) : System

Create a task group with the specified id.

TaskStarting ( ) : void

Notify that a task is starting.

TaskStopping ( ) : void

Notify that a task is stopping.

WaitForComplete ( ) : void

Wait for all tasks to complete in this group.

Method Details

TaskGroup() public méthode

Create a task group with the specified id.
public TaskGroup ( int id ) : System
id int The ID of the task group.
Résultat System

TaskStarting() public méthode

Notify that a task is starting.
public TaskStarting ( ) : void
Résultat void

TaskStopping() public méthode

Notify that a task is stopping.
public TaskStopping ( ) : void
Résultat void

WaitForComplete() public méthode

Wait for all tasks to complete in this group.
public WaitForComplete ( ) : void
Résultat void