Ejemplo n.º 1
0
 public GameLauncherService(
     ILogger logger,
     INotificationService notificationService,
     ISplashScreenProgressProvider splashScreenProgressProvider,
     ILaunchDependencyCheckService launchDependencyCheckService,
     ICefFilesUpdater cefFilesUpdater,
     IClientFilesUpdater clientFilesUpdater,
     IGamePathProvider gamePathProvider,
     IGtaVersionProvider gtaVersionProvider,
     IGameInjectionService gameInjectionService,
     ISocialClubCommandlineService socialClubCommandlineService,
     ILowKeySuppressionService lowKeySuppressionService,
     ISettingsProvider settingsProvider,
     IEnsureRegistryKeyService ensureRegistryKeyService)
 {
     _logger = logger;
     _notificationService          = notificationService;
     _splashScreenProgressProvider = splashScreenProgressProvider;
     _launchDependencyCheckService = launchDependencyCheckService;
     _cefFilesUpdater              = cefFilesUpdater;
     _clientFilesUpdater           = clientFilesUpdater;
     _gamePathProvider             = gamePathProvider;
     _gtaVersionProvider           = gtaVersionProvider;
     _gameInjectionService         = gameInjectionService;
     _socialClubCommandlineService = socialClubCommandlineService;
     _lowKeySuppressionService     = lowKeySuppressionService;
     _settingsProvider             = settingsProvider;
     _ensureRegistryKeyService     = ensureRegistryKeyService;
 }
        public GameBackupService(
            ILogger logger,
            ISettingsProvider settingsProvider,
            INotificationService notificationService,
            IGtaVersionProvider gtaVersionProvider)
        {
            _logger              = logger;
            _settingsProvider    = settingsProvider;
            _notificationService = notificationService;
            _gtaVersionProvider  = gtaVersionProvider;

            _gamePath = _settingsProvider.GetCurrentSettings().GamePath;
        }