private IList <IssueEntity> GetIssuesForDate(DateTime date) { return(new HashSet <IssueEntity>( TodaysIssues.FetchFromTableStorage(Configuration["ConnectionString"], date).Issues .Where(issue => issue.Labels is object && issue.Labels.Contains("test-failure", StringComparison.Ordinal)), IssueEntityComparer.Instance) .OrderBy(ie => ie.Number) .ToList()); }
protected override void OnParametersSet() { var connectionString = Configuration["ConnectionString"]; var todaysIssues = TodaysIssues.FetchFromTableStorage(connectionString); Milestones = todaysIssues.AllMilestones.OrderBy(m => m).ToArray(); Areas = todaysIssues.AllAreas.OrderBy(a => a).ToArray(); Issues = todaysIssues.Issues.ToArray(); UpdateCounts(); }