C# Class Adf.Core.Tasks.TaskManager

Represent the methods and properties to provide information about the processes or tasks running on, as well as the general status of the task. Also provide functionality to start, end or manage any process or task.
Datei anzeigen Open project: NLADP/ADF

Private Properties

Property Type Description

Public Methods

Method Description
FindTaskById ( System.Guid id ) : ITask

Find a task by a specified identifier from the System.Collections.Hashtable of tasks.

Home ( ) : void

Run or execute an array of tasks.

Return ( ITask finishedtask, TaskResult returns ) : void

Provides a method to finish one or more task, after completion of supplied finshed task.

Run ( Adf.Core.Tasks.ApplicationTask name ) : void

Run or execute an array of tasks by the specified ApplicationTask name.

Run ( ITask origin, Adf.Core.Tasks.ApplicationTask name ) : void

Provides a method to run or execute one or more tasks.

Method Details

FindTaskById() public static method

Find a task by a specified identifier from the System.Collections.Hashtable of tasks.
public static FindTaskById ( System.Guid id ) : ITask
id System.Guid The identifier of the task.
return ITask

Home() public static method

Run or execute an array of tasks.
public static Home ( ) : void
return void

Return() public static method

Provides a method to finish one or more task, after completion of supplied finshed task.
public static Return ( ITask finishedtask, TaskResult returns ) : void
finishedtask ITask The task which will check for cmpletion.
returns TaskResult The that defines the current status of a task.
return void

Run() public static method

Run or execute an array of tasks by the specified ApplicationTask name.
public static Run ( Adf.Core.Tasks.ApplicationTask name ) : void
name Adf.Core.Tasks.ApplicationTask The that defines the start point of task.
return void

Run() public static method

Provides a method to run or execute one or more tasks.
public static Run ( ITask origin, Adf.Core.Tasks.ApplicationTask name ) : void
origin ITask The that defines the start point of task.
name Adf.Core.Tasks.ApplicationTask The that defines the name of task.
return void