Ejemplo n.º 1
0
 static XElement GetHtmlScrumBoardSection(ScrumSprint sprint, ScrumState state)
 {
     return new XElement(
         "div",
         new XAttribute("class", "scrum_board_section"),
         new XElement("h2", new XAttribute("id", sprint.States.IndexOf(state)), state.Name + " issues"),
         sprint.Issues.Where(i => state == sprint.GetStateOfIssue(i)).Select(GetHtmlScrumBoardIssue));
 }
Ejemplo n.º 2
0
 static IEnumerable<XElement> GetHtmlScrumBoardIssues(ScrumSprint sprint, ScrumState state)
 {
     return sprint.Issues.Where(i => state == sprint.GetStateOfIssue(i)).Select(GetHtmlScrumBoardIssue);
 }