C# 클래스 JelloScrum.Model.Entities.Story

상속: ModelBase, ILogable
파일 보기 프로젝트 열기: auxilium/JelloScrum 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
AddSprintStory ( SprintStory sprintStory ) : void

Adds the given sprintstory

Story ( ) : System

Initializes a new instance of the Story class.

메소드 상세

AddComment() 공개 메소드

Adds the given text as comment.
public AddComment ( string text ) : void
text string The tekst.
리턴 void

AddSprintStory() 보호된 메소드

Adds the given sprintstory
protected AddSprintStory ( SprintStory sprintStory ) : void
sprintStory SprintStory The sprintstory.
리턴 void

AddTask() 공개 메소드

Adds the given task
public AddTask ( Task task ) : void
task Task The task.
리턴 void

GetTasksWith() 공개 메소드

Gets all tasks with the given state
public GetTasksWith ( State state ) : IList
state State The state.
리턴 IList

GetTimeRegistrations() 공개 메소드

Gets all timeregistrations for all tasks belonging to this story.
public GetTimeRegistrations ( ) : IList
리턴 IList

IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory() 공개 메소드

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

RemoveTask() 공개 메소드

Removes the given task
public RemoveTask ( Task task ) : void
task Task The task.
리턴 void

Story() 보호된 메소드

Initializes a new instance of the Story class.
protected Story ( ) : System
리턴 System

Story() 공개 메소드

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.
리턴 System

TotalTimeSpent() 공개 메소드

Gets the total amount of time spent on this story.
public TotalTimeSpent ( ) : System.TimeSpan
리턴 System.TimeSpan

TotalTimeSpent() 공개 메소드

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.
리턴 System.TimeSpan