C# Class JelloScrum.Model.Entities.Story

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddComment ( string text ) : void

Adds the given text as comment.

AddTask ( Task task ) : void

Adds the given task

GetTasksWith ( State state ) : IList

Gets all tasks with the given state

GetTimeRegistrations ( ) : IList

Gets all timeregistrations for all tasks belonging to this story.

IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory ( ) : bool

Determines whether the estimated time of all tasks is less then the estimated time of this story.

RemoveTask ( Task task ) : void

Removes the given task

Story ( Project project, Interfaces.User createdBy, Impact impact, StoryType storyType ) : System

Initializes a new instance of the Story class.

TotalTimeSpent ( ) : System.TimeSpan

Gets the total amount of time spent on this story.

TotalTimeSpent ( System.DateTime startDate, System.DateTime endDate ) : System.TimeSpan

Gets the total amount of time spent on this story between the given startdate and enddate.

Méthodes protégées

Méthode Description
AddSprintStory ( SprintStory sprintStory ) : void

Adds the given sprintstory

Story ( ) : System

Initializes a new instance of the Story class.

Method Details

AddComment() public méthode

Adds the given text as comment.
public AddComment ( string text ) : void
text string The tekst.
Résultat void

AddSprintStory() protected méthode

Adds the given sprintstory
protected AddSprintStory ( SprintStory sprintStory ) : void
sprintStory SprintStory The sprintstory.
Résultat void

AddTask() public méthode

Adds the given task
public AddTask ( Task task ) : void
task Task The task.
Résultat void

GetTasksWith() public méthode

Gets all tasks with the given state
public GetTasksWith ( State state ) : IList
state State The state.
Résultat IList

GetTimeRegistrations() public méthode

Gets all timeregistrations for all tasks belonging to this story.
public GetTimeRegistrations ( ) : IList
Résultat IList

IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory() public méthode

Determines whether the estimated time of all tasks is less then the estimated time of this story.
public IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory ( ) : bool
Résultat bool

RemoveTask() public méthode

Removes the given task
public RemoveTask ( Task task ) : void
task Task The task.
Résultat void

Story() protected méthode

Initializes a new instance of the Story class.
protected Story ( ) : System
Résultat System

Story() public méthode

Initializes a new instance of the Story class.
public Story ( Project project, Interfaces.User createdBy, Impact impact, StoryType storyType ) : System
project Project The project.
createdBy Interfaces.User The user that created this story.
impact Impact The impact.
storyType StoryType Type of the story.
Résultat System

TotalTimeSpent() public méthode

Gets the total amount of time spent on this story.
public TotalTimeSpent ( ) : System.TimeSpan
Résultat System.TimeSpan

TotalTimeSpent() public méthode

Gets the total amount of time spent on this story between the given startdate and enddate.
public TotalTimeSpent ( System.DateTime startDate, System.DateTime endDate ) : System.TimeSpan
startDate System.DateTime The start date.
endDate System.DateTime The end date.
Résultat System.TimeSpan