예제 #1
0
 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;
 }
예제 #2
0
 protected void Initialize(IExitable state)
 {
     _exitState      = state;
     _updatable      = state as IUpdatable;
     _fixedUpdatable = state as IFixedUpdatable;
 }