public Bootstrapper( IChecker checker, IExitable exitable, IFileSystem fileSystem, IMainViewModel mainViewModel, IMainWindow mainWindow, IMessageBox messageBox, ISettings settings, IWatcher watcher) { this.checker = checker; this.exitable = exitable; this.fileSystem = fileSystem; this.mainViewModel = mainViewModel; this.mainWindow = mainWindow; this.messageBox = messageBox; this.settings = settings; this.watcher = watcher; }
protected void Initialize(IExitable state) { _exitState = state; _updatable = state as IUpdatable; _fixedUpdatable = state as IFixedUpdatable; }