Пример #1
0
 static void OnTaskChanged(string key)
 {
     GetDashboardSections(key).Single(d => d.Text == DueSectionKey).BadgesInternal     = Engine.GetBadgesDues(key).ToList();
     GetDashboardSections(key).Single(d => d.Text == OrderedSectionKey).BadgesInternal = Engine.GetBadgesOrdered(key, null).ToList();
 }
Пример #2
0
 DashboardPart DashboardItemOrdered()
 => new DashboardPart
 {
     Text = "Ordered", Description = "Ordered", Sequence = 5, BadgesInternal = Engine.GetBadgesOrdered(AssistantKey, null).ToList()
 };