C# Класс JelloScrum.Model.Entities.SprintUser

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

Private Properties

Свойство Тип Описание

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

Метод Описание
AddRole ( SprintRole role ) : void

Adds the given sprintrole to the current set of sprintroles.

DecoupleSprintUser ( ) : void

Decouple this sprintuser from its sprint and user so that it can be deleted.

GetClosedTasks ( ) : ReadOnlyCollection

Gets a readonly collection of the tasks this user has closed.

GetTakenTasks ( ) : ReadOnlyCollection

Gets a readonly collection of the tasks this user has taken

GetTakenTasksWithSprintBacklogPriority ( Priority priority ) : IList

Gets all tasks this user has taken with the given sprintbacklog priority todo: expensive!

HasExactlyThisSprintRole ( SprintRole role ) : bool

Determines if this sprintuser has EXACTLY the same sprintrole as the given role

HasSprintRole ( SprintRole role ) : bool

Determines if this sprintuser has the given sprintrole

RemoveRole ( SprintRole role ) : void

Removes the given role from the current set of roles.

SprintUser ( ) : System

Initializes a new instance of the SprintUser class.

SprintUser ( User user, JelloScrum.Model.Entities.Sprint sprint, SprintRole role ) : System

Initializes a new instance of the SprintUser class for the given user, sprint and role.

TakeOverTask ( Task task ) : void

Take over the given task from its current assigned user

TakeTask ( Task task ) : void

Take the given task

UnAssignTask ( Task task ) : void

The assigned user gives the task up and is no longer the assigned user. The tasks state is set to open again.

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

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

Adds the given sprintrole to the current set of sprintroles.
public AddRole ( SprintRole role ) : void
role SprintRole The role.
Результат void

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

Decouple this sprintuser from its sprint and user so that it can be deleted.
public DecoupleSprintUser ( ) : void
Результат void

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

Gets a readonly collection of the tasks this user has closed.
public GetClosedTasks ( ) : ReadOnlyCollection
Результат ReadOnlyCollection

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

Gets a readonly collection of the tasks this user has taken
public GetTakenTasks ( ) : ReadOnlyCollection
Результат ReadOnlyCollection

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

Gets all tasks this user has taken with the given sprintbacklog priority todo: expensive!
public GetTakenTasksWithSprintBacklogPriority ( Priority priority ) : IList
priority Priority The sprintbacklog priority.
Результат IList

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

Determines if this sprintuser has EXACTLY the same sprintrole as the given role
public HasExactlyThisSprintRole ( SprintRole role ) : bool
role SprintRole The role.
Результат bool

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

Determines if this sprintuser has the given sprintrole
public HasSprintRole ( SprintRole role ) : bool
role SprintRole The role.
Результат bool

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

Removes the given role from the current set of roles.
public RemoveRole ( SprintRole role ) : void
role SprintRole The role.
Результат void

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

Initializes a new instance of the SprintUser class.
public SprintUser ( ) : System
Результат System

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

Initializes a new instance of the SprintUser class for the given user, sprint and role.
public SprintUser ( User user, JelloScrum.Model.Entities.Sprint sprint, SprintRole role ) : System
user User The user.
sprint JelloScrum.Model.Entities.Sprint The sprint.
role SprintRole The role.
Результат System

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

Take over the given task from its current assigned user
public TakeOverTask ( Task task ) : void
task Task The task.
Результат void

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

Take the given task
public TakeTask ( Task task ) : void
task Task The task.
Результат void

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

The assigned user gives the task up and is no longer the assigned user. The tasks state is set to open again.
public UnAssignTask ( Task task ) : void
task Task The taks.
Результат void