private void issueDetailsToolStripMenuItem_Click( object sender, EventArgs e ) { Sifter S = new Sifter( ApiKey, Uri ); SifterApi.Types.IssueDetails ID = S.IssueDetails( Proj, ILE ); Results.AppendText( "Issue Details Comments Count = " + ID.Comments.Count.ToString() + Environment.NewLine ); }
private void modifiedTodayToolStripMenuItem_Click( object sender, EventArgs e ) { Sifter S = new Sifter( ApiKey, Uri ); DateTime Today = DateTime.Now; List<SifterApi.Types.IssueListingEntry> ILEs = S.Issues( Proj ); List<SifterApi.Types.IssueDetails> IDs = S.IssueDetails( Proj, ILEs ); List<SifterApi.Types.IssueDetails> Modified = IDs.Where( M => M.Comments.Where( C => CompareDatesForSameDay( C.Updated_At, Today ) == true ).Count() > 0 ).ToList(); Results.AppendText( "Modified Count = " + Modified.Count.ToString() + Environment.NewLine ); }