C# Класс BinaryStudio.TaskManager.Logic.Core.TaskProcessor

The task processor.
Наследование: ITaskProcessor
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddHistory ( HumanTaskHistory newHumanTask ) : void

Adds the history.

CloseTask ( int taskId ) : void

The close current task.

CreateTask ( HumanTask task ) : void

The create task without reminder.

CreateTask ( HumanTask task, Reminder reminder ) : void

The create task with reminder.

DeleteTask ( int taskId ) : void

The delete current task with all reminders for this task.

GetAllClosedTasksForProject ( int projectId ) : IEnumerable

The get all closed tasks for project.

GetAllClosedTasksForUserInProject ( int projectId, int userId ) : IEnumerable

The get all closed tasks for user in project.

GetAllHistoryForTask ( int taskId ) : IList

The get all history for task.

GetAllHistoryForUser ( int userId ) : IList

The get all history for user.

GetAllOpenTasksForProject ( int projectId ) : IEnumerable

The get all open tasks for project.

GetAllOpenTasksForUserInProject ( int projectId, int userId ) : IEnumerable

The get all open tasks for user in project.

GetAllTasks ( ) : IEnumerable

The get all tasks.

GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable

The get all tasks for user in project.

GetAllTasksInProject ( int projectId ) : IEnumerable

The get all tasks in project.

GetOpenTasksListInProject ( int projectId ) : IEnumerable

The get tasks in project list.

GetPrioritiesList ( ) : IEnumerable

The get priorities list.

GetTaskById ( int taskId ) : HumanTask

The get task by id.

GetTasksList ( ) : IEnumerable

The get tasks list.

GetTasksList ( int userId ) : IEnumerable

The get tasks list.

GetUnAssignedTasksForProject ( int projectId ) : IEnumerable

The get un assigned tasks for project.

GetUnassignedTasks ( ) : IEnumerable

The get unassigned tasks.

MoveTask ( int taskId, int userId ) : void

The move task between users.

MoveTaskToUnassigned ( int taskId ) : void

The move task to unassigned.

TaskProcessor ( IHumanTaskRepository humanTaskRepository, IReminderProcessor reminderProcessor, IUserRepository userRepository ) : System

Initializes a new instance of the TaskProcessor class.

UpdateTask ( HumanTask task ) : void

The update task.

UpdateTask ( HumanTask task, Reminder reminder ) : void

The update task with reminder.

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

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

Adds the history.
public AddHistory ( HumanTaskHistory newHumanTask ) : void
newHumanTask BinaryStudio.TaskManager.Logic.Domain.HumanTaskHistory The new human task.
Результат void

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

The close current task.
public CloseTask ( int taskId ) : void
taskId int /// The task id. ///
Результат void

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

The create task without reminder.
public CreateTask ( HumanTask task ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
Результат void

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

The create task with reminder.
public CreateTask ( HumanTask task, Reminder reminder ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
reminder BinaryStudio.TaskManager.Logic.Domain.Reminder The reminder.
Результат void

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

The delete current task with all reminders for this task.
public DeleteTask ( int taskId ) : void
taskId int /// The task id. ///
Результат void

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

The get all closed tasks for project.
public GetAllClosedTasksForProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
Результат IEnumerable

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

The get all closed tasks for user in project.
public GetAllClosedTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int /// The project id. ///
userId int /// The user id. ///
Результат IEnumerable

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

The get all history for task.
public GetAllHistoryForTask ( int taskId ) : IList
taskId int /// The task id. ///
Результат IList

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

The get all history for user.
public GetAllHistoryForUser ( int userId ) : IList
userId int /// The user id. ///
Результат IList

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

The get all open tasks for project.
public GetAllOpenTasksForProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
Результат IEnumerable

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

The get all open tasks for user in project.
public GetAllOpenTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int /// The project id. ///
userId int /// The user id. ///
Результат IEnumerable

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

The get all tasks.
public GetAllTasks ( ) : IEnumerable
Результат IEnumerable

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

The get all tasks for user in project.
public GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int /// The project id. ///
userId int /// The user id. ///
Результат IEnumerable

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

The get all tasks in project.
public GetAllTasksInProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
Результат IEnumerable

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

The get tasks in project list.
public GetOpenTasksListInProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
Результат IEnumerable

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

The get priorities list.
public GetPrioritiesList ( ) : IEnumerable
Результат IEnumerable

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

The get task by id.
public GetTaskById ( int taskId ) : HumanTask
taskId int /// The task id. ///
Результат BinaryStudio.TaskManager.Logic.Domain.HumanTask

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

The get tasks list.
public GetTasksList ( ) : IEnumerable
Результат IEnumerable

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

The get tasks list.
public GetTasksList ( int userId ) : IEnumerable
userId int /// The user id. ///
Результат IEnumerable

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

The get un assigned tasks for project.
public GetUnAssignedTasksForProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
Результат IEnumerable

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

The get unassigned tasks.
public GetUnassignedTasks ( ) : IEnumerable
Результат IEnumerable

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

The move task between users.
public MoveTask ( int taskId, int userId ) : void
taskId int /// The task id. ///
userId int /// The user id. ///
Результат void

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

The move task to unassigned.
public MoveTaskToUnassigned ( int taskId ) : void
taskId int /// The task id. ///
Результат void

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

Initializes a new instance of the TaskProcessor class.
public TaskProcessor ( IHumanTaskRepository humanTaskRepository, IReminderProcessor reminderProcessor, IUserRepository userRepository ) : System
humanTaskRepository IHumanTaskRepository /// The human task repository. ///
reminderProcessor IReminderProcessor /// The reminder repository. ///
userRepository IUserRepository /// The user repository. ///
Результат System

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

The update task.
public UpdateTask ( HumanTask task ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
Результат void

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

The update task with reminder.
public UpdateTask ( HumanTask task, Reminder reminder ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
reminder BinaryStudio.TaskManager.Logic.Domain.Reminder The reminder.
Результат void