public MainWindowViewModel( ITimerManager timerManager, ISettingManager settingManager, ISettingWindowViewModel settingWindowVM, IMediator mediator) { this.gapModel = new TimeGapModel(); this.timerManager = timerManager; this.settingManager = settingManager; this.timerManager.SetTimeGapObject(this.gapModel); this.settingWindowVM = settingWindowVM; this.mediator = mediator; this.showSettingWindowCommand = new BaseCommand(this.ShowSettingWindow); this.RegisterEvents(); }
public void SetTimeGapObject(TimeGapModel gapModel) => this.gapModel = gapModel;