Exemplo n.º 1
0
 public SonarrController(IThirdPartyService apiService, ISettingsService <SonarrSettingsDto> settingsService, ILogger logger)
     : base(logger)
 {
     ApiService      = apiService;
     SettingsService = settingsService;
     Settings        = SettingsService.GetSettings();
 }
Exemplo n.º 2
0
 public IoCTests(IDatabase database, IThirdPartyService service)
 {
     this.database = database;
     this.service = service;
     log = new StringBuilder();
     log.WhereAmI();
 }
Exemplo n.º 3
0
 public SonarrController(IThirdPartyService apiService, ISettingsService <SonarrSettingsViewModelDto> settingsService)
     : base(typeof(SonarrController))
 {
     ApiService      = apiService;
     SettingsService = settingsService;
     Settings        = SettingsService.GetSettings();
 }
Exemplo n.º 4
0
 public SonarrController(IThirdPartyService apiService, ISettingsService<SonarrSettingsDto> settingsService, ILogger logger)
     : base(logger)
 {
     ApiService = apiService;
     SettingsService = settingsService;
     Settings = SettingsService.GetSettings();
 }
Exemplo n.º 5
0
 public DashboardController(IHardwareService service, IThirdPartyService api, ILinksConfiguration linksConfiguration)
     : base(typeof(DashboardController))
 {
     Api                = api;
     Service            = service;
     LinksConfiguration = linksConfiguration;
 }
Exemplo n.º 6
0
 public NzbGetController(ISettingsService <NzbGetSettingsDto> settingsService, IThirdPartyService api, ILogger logger)
 {
     SettingsService = settingsService;
     Api             = api;
     Logger          = logger;
     Settings        = SettingsService.GetSettings();
 }
Exemplo n.º 7
0
 public IoCTests(IDatabase database, IThirdPartyService service)
 {
     this.database = database;
     this.service  = service;
     log           = new StringBuilder();
     log.WhereAmI();
 }
Exemplo n.º 8
0
 public SabNzbdController(ISettingsService<SabNzbdSettingsDto> settingsService, IThirdPartyService api, ILogger logger)
 {
     SettingsService = settingsService;
     Api = api;
     Logger = logger;
     Settings = SettingsService.GetSettings();
 }
Exemplo n.º 9
0
 public CouchPotatoController(ISettingsService <CouchPotatoSettingsDto> settingsService, IThirdPartyService api, ILogger logger)
 {
     SettingsService = settingsService;
     Api             = api;
     Logger          = logger;
     Settings        = SettingsService.GetSettings();
 }
Exemplo n.º 10
0
 public CouchPotatoController(ISettingsService <CouchPotatoSettingsDto> settingsService, IThirdPartyService api, ILogger logger, ICacheProvider cache)
 {
     SettingsService = settingsService;
     Api             = api;
     Logger          = logger;
     Settings        = SettingsService.GetSettings();
     Cache           = cache;
 }
Exemplo n.º 11
0
 public MacGuffinController(ILogger <MacGuffinController> logger, IThirdPartyService thirdPartyService,
                            IMacGuffinRepository macGuffinRepository, IHttpContextAccessor httpContextAccessor)
 {
     _logger              = logger;
     _thirdPartyService   = thirdPartyService;
     _httpContextAccessor = httpContextAccessor;
     _macGuffinRepository = macGuffinRepository;
 }
Exemplo n.º 12
0
 public CouchPotatoController(ISettingsService<CouchPotatoSettingsDto> settingsService, IThirdPartyService api, ILogger logger, ICacheProvider cache)
 {
     SettingsService = settingsService;
     Api = api;
     Logger = logger;
     Settings = SettingsService.GetSettings();
     Cache = cache;
 }
Exemplo n.º 13
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;
 }
Exemplo n.º 14
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;
 }
Exemplo n.º 15
0
 public IndexModel(
     IMyDependency myDependency,
     OperationService operationService,
     OperationService operationService2,
     IOperationTransient transientOperation,
     IOperationScoped scopedOperation,
     IOperationSingleton singletonOperation,
     IOperationSingletonInstance singletonInstanceOperation,
     IFoo foo,
     IBar bar,
     IThirdPartyService thirdPartyService
     )
 {
     _myDependency              = myDependency;
     OperationService           = operationService;
     OperationService2          = operationService2;
     TransientOperation         = transientOperation;
     ScopedOperation            = scopedOperation;
     SingletonOperation         = singletonOperation;
     SingletonInstanceOperation = singletonInstanceOperation;
     Foo = foo;
     Bar = bar;
     ThirdPartyService = thirdPartyService;
 }
Exemplo n.º 16
0
 public ApplicationConfigurationHub(IThirdPartyService service)
     : base(typeof(ApplicationConfigurationHub))
 {
     Service = service;
 }
Exemplo n.º 17
0
 public ThirdPartyController(IThirdPartyService thirdPartySer, ILogger <ThirdPartyController> log)
 {
     this.thirdPartyService = thirdPartySer;
     this.logger            = log;
     // file is edit at git hub server
 }
Exemplo n.º 18
0
 public ApplicationConfigurationHub(IThirdPartyService service)
     : base(typeof(ApplicationConfigurationHub))
 {
     Service = service;
 }
Exemplo n.º 19
0
 public IoCTests(IDatabase database, IThirdPartyService service)
 {
     this.database = database;
     this.service  = service;
     Log.WhereAmI();
 }
Exemplo n.º 20
0
 public EndpointTester(IThirdPartyService service)
 {
     Api = service;
     _logger = new NLogLogger(typeof(EndpointTester));
 }
 public ThirdPartyController(
     IThirdPartyService thirdPartyService
     )
 {
     this._thirdPartyService = thirdPartyService;
 }
Exemplo n.º 22
0
 public EndpointTester(IThirdPartyService service)
 {
     Api     = service;
     _logger = new NLogLogger(typeof(EndpointTester));
 }