JelloScrum.Model.Entities.Story.IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory C# (CSharp) 메소드

IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory() 공개 메소드

Determines whether the estimated time of all tasks is less then the estimated time of this story.
        public virtual bool IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory()
        {
            double timeTasks = 0;
            foreach (Task task in Tasks)
            {
                timeTasks += task.Estimation.TotalMinutes;
            }

            return timeTasks <= Estimation.TotalMinutes;
        }