Example #1
0
 public SabNzbdController(ISettingsService<SabNzbdSettingsDto> settingsService, IThirdPartyService api, ILogger logger)
 {
     SettingsService = settingsService;
     Api = api;
     Logger = logger;
     Settings = SettingsService.GetSettings();
 }
Example #2
0
 public IoCTests(IDatabase database, IThirdPartyService service)
 {
     this.database = database;
     this.service = service;
     log = new StringBuilder();
     log.WhereAmI();
 }
Example #3
0
 public SonarrController(IThirdPartyService apiService, ISettingsService<SonarrSettingsDto> settingsService, ILogger logger)
     : base(logger)
 {
     ApiService = apiService;
     SettingsService = settingsService;
     Settings = SettingsService.GetSettings();
 }
Example #4
0
 public CouchPotatoController(ISettingsService<CouchPotatoSettingsDto> settingsService, IThirdPartyService api, ILogger logger, ICacheProvider cache)
 {
     SettingsService = settingsService;
     Api = api;
     Logger = logger;
     Settings = SettingsService.GetSettings();
     Cache = cache;
 }
Example #5
0
 public DashboardController(IHardwareService service,
                            IThirdPartyService api,
                            ILogger logger,
                            ISettingsService<NzbGetSettingsDto> nzbGetSettingsService,
                            ISettingsService<SabNzbdSettingsDto> sabSettingsService,
                            ISettingsService<NzbDashSettingsDto> nzbDashServiceSettings)
     : base(logger)
 {
     Api = api;
     Service = service;
     NzbGet = nzbGetSettingsService;
     Sab = sabSettingsService;
     NzbDashServiceSettings = nzbDashServiceSettings;
 }
Example #6
0
 public EndpointTester(IThirdPartyService service)
 {
     Api = service;
     _logger = new NLogLogger(typeof(EndpointTester));
 }
 public ApplicationConfigurationHub(IThirdPartyService service)
     : base(typeof(ApplicationConfigurationHub))
 {
     Service = service;
 }