C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

TaskGroup() публичный Метод

Create a task group with the specified id.
public TaskGroup ( int id ) : System
id int The ID of the task group.
Результат System

TaskStarting() публичный Метод

Notify that a task is starting.
public TaskStarting ( ) : void
Результат void

TaskStopping() публичный Метод

Notify that a task is stopping.
public TaskStopping ( ) : void
Результат void

WaitForComplete() публичный Метод

Wait for all tasks to complete in this group.
public WaitForComplete ( ) : void
Результат void