public IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory ( ) : bool | ||
Résultat | bool |
public virtual bool IsEstimatedTimeOfTasksLessThenEstimatedTimeOfStory()
{
double timeTasks = 0;
foreach (Task task in Tasks)
{
timeTasks += task.Estimation.TotalMinutes;
}
return timeTasks <= Estimation.TotalMinutes;
}