Пример #1
0
 public StatusBarViewModel(
     ITimeBlocksModel timeBlocksModel, IActiveTaskController activeTaskController, IIdleTimeSummerFactory idleTimeSummerFactory)
 {
     this.activeTaskController = activeTaskController;
     idleTimeSummer            = idleTimeSummerFactory.Create(this);
     SubscribeToActiveTaskEvents();
     ExtractStartTime(timeBlocksModel);
 }
Пример #2
0
 public StatusBarViewModel(
     ITimeBlocksModel timeBlocksModel, IActiveTaskController activeTaskController, IIdleTimeSummerFactory idleTimeSummerFactory)
 {
     this.activeTaskController = activeTaskController;
     idleTimeSummer = idleTimeSummerFactory.Create(this);
     SubscribeToActiveTaskEvents();
     ExtractStartTime(timeBlocksModel);
 }