C# Class JelloScrum.Model.Entities.SprintUser

Inheritance: ModelBase
Afficher le fichier Open project: auxilium/JelloScrum Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

AddRole() public méthode

Adds the given sprintrole to the current set of sprintroles.
public AddRole ( SprintRole role ) : void
role SprintRole The role.
Résultat void

DecoupleSprintUser() public méthode

Decouple this sprintuser from its sprint and user so that it can be deleted.
public DecoupleSprintUser ( ) : void
Résultat void

GetClosedTasks() public méthode

Gets a readonly collection of the tasks this user has closed.
public GetClosedTasks ( ) : ReadOnlyCollection
Résultat ReadOnlyCollection

GetTakenTasks() public méthode

Gets a readonly collection of the tasks this user has taken
public GetTakenTasks ( ) : ReadOnlyCollection
Résultat ReadOnlyCollection

GetTakenTasksWithSprintBacklogPriority() public méthode

Gets all tasks this user has taken with the given sprintbacklog priority todo: expensive!
public GetTakenTasksWithSprintBacklogPriority ( Priority priority ) : IList
priority Priority The sprintbacklog priority.
Résultat IList

HasExactlyThisSprintRole() public méthode

Determines if this sprintuser has EXACTLY the same sprintrole as the given role
public HasExactlyThisSprintRole ( SprintRole role ) : bool
role SprintRole The role.
Résultat bool

HasSprintRole() public méthode

Determines if this sprintuser has the given sprintrole
public HasSprintRole ( SprintRole role ) : bool
role SprintRole The role.
Résultat bool

RemoveRole() public méthode

Removes the given role from the current set of roles.
public RemoveRole ( SprintRole role ) : void
role SprintRole The role.
Résultat void

SprintUser() public méthode

Initializes a new instance of the SprintUser class.
public SprintUser ( ) : System
Résultat System

SprintUser() public méthode

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.
Résultat System

TakeOverTask() public méthode

Take over the given task from its current assigned user
public TakeOverTask ( Task task ) : void
task Task The task.
Résultat void

TakeTask() public méthode

Take the given task
public TakeTask ( Task task ) : void
task Task The task.
Résultat void

UnAssignTask() public méthode

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.
Résultat void