public Restore(IDataBase dataBase, ILogger logger, IBackuphandler backuphandler, INiconicoUtils niconicoUtils, IVideoFileStorehandler fileStorehandler, ILocalSettingHandler settingHandler, IVideoDirectoryStoreHandler videoDirectoryStoreHandler) { this.dataBase = dataBase; this.logger = logger; this.backuphandler = backuphandler; this.niconicoUtils = niconicoUtils; this.fileStorehandler = fileStorehandler; this.settingHandler = settingHandler; this.videoDirectoryStoreHandler = videoDirectoryStoreHandler; }
public StartUp(Store::IVideoStoreHandler videoStoreHandler, Store::IPlaylistStoreHandler playlistStoreHandler, Store::IVideoFileStorehandler fileStorehandler, IBackuphandler backuphandler, IAutoLogin autoLogin, ISnackbarHandler snackbarHandler, ILogger logger, ILocalSettingHandler settingHandler, Resume::IStreamResumer streamResumer, NicoIO::INicoDirectoryIO nicoDirectoryIO, IAddonHandler addonHandler) { this._videoStoreHandler = videoStoreHandler; this._playlistStoreHandler = playlistStoreHandler; this._fileStorehandler = fileStorehandler; this._backuphandler = backuphandler; this._autoLogin = autoLogin; this._snackbarHandler = snackbarHandler; this._logger = logger; this._settingHandler = settingHandler; this._streamResumer = streamResumer; this._nicoDirectoryIO = nicoDirectoryIO; this._addonHandler = addonHandler; this.DeleteInvalidbackup(); }