コード例 #1
0
 private double GetEstimatedPointsNextMilestoneForList(TrelloData trelloData, string listName)
 {
     var estimatedListData = trelloData.GetListData(listName);
     var estimatedPoints = estimatedListData.CardDataCollection.Where(c=>c.Card.Labels.Any(l=>l.Name == "Next Milestone")).Sum(cd => cd.Points);
     return estimatedPoints;
 }
コード例 #2
0
 private double GetEstimatedPointsForList(TrelloData trelloData, string listName)
 {
     var estimatedListData = trelloData.GetListData(listName);
     var estimatedPoints = estimatedListData.CardDataCollection.Sum(cd => cd.Points);
     return estimatedPoints;
 }