C# Class LibiadaWeb.Tasks.TaskManager

The task manager.
显示文件 Open project: intervals-mining-lab/libiada-web

Public Methods

Method Description
AddTask ( Task task ) : void

The add task.

DeleteAllTasks ( ) : void

The clear tasks.

DeleteTask ( int id ) : void

The delete task.

GetId ( ) : int

The get id.

GetTask ( int id ) : Task

The get task.

GetTasksData ( ) : IEnumerable

The get tasks data.

Private Methods

Method Description
Action ( Task task ) : void

The create action.

ManageTasks ( ) : void

The manage tasks.

StartTask ( int id ) : void

The start task.

Method Details

AddTask() public static method

The add task.
public static AddTask ( Task task ) : void
task Task /// The task. ///
return void

DeleteAllTasks() public static method

The clear tasks.
public static DeleteAllTasks ( ) : void
return void

DeleteTask() public static method

The delete task.
public static DeleteTask ( int id ) : void
id int /// The id. ///
return void

GetId() public static method

The get id.
public static GetId ( ) : int
return int

GetTask() public static method

The get task.
public static GetTask ( int id ) : Task
id int /// The id. ///
return Task

GetTasksData() public static method

The get tasks data.
public static GetTasksData ( ) : IEnumerable
return IEnumerable