public StorageObserver(ISettingsService<AlertSettingsDto> settings, IEventService eventService, ISmtpClient client, IFile file, ILogger logger, IHardwareService hardwareService) : base(logger) { SettingsService = settings; EventService = eventService; SmtpClient = client; ConfigurationReader = new ConfigurationReader(SettingsService, AlertTypeDto.Hdd); Notifier = new Notifier(ConfigurationReader.Read().Intervals.CriticalNotification, eventService, client, file, logger, AlertTypeDto.Hdd); Hardware = hardwareService; }
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; }
public AlertSettingsController(ILogger logger, ISettingsService<AlertSettingsDto> alertSettings, IHardwareService hardware) : base(logger) { AlertSettingsService = alertSettings; HardwareService = hardware; }
public void SetUp() { Service = new WindowsHardwareService(); }
public NetworkPerformanceCounter(IHardwareService hardwareService, int nicId) { Service = hardwareService; NicId = nicId; }
public StoragePerformanceCounter(IHardwareService hardwareService, int driveId) { Service = hardwareService; DriveId = driveId; }
public DatabaseServiceModule(IHardwareService hardwareService, IOrganizationService organizationService, ILoginUserService loginUserService) { _hardwareService = hardwareService; _organizationService = organizationService; _loginUserService = loginUserService; }
public HardwareController(IHardwareService hardwareService) { _hardwareService = hardwareService; }
public AlertSettingsController(ILogger logger, ISettingsService <AlertSettingsDto> alertSettings, IHardwareService hardware) : base(logger) { AlertSettingsService = alertSettings; HardwareService = hardware; }
public UsersController(IUserService userService, IHardwareService hardwareService) { this.userService = userService; this.hardwareService = hardwareService; }
public HistoryEventAlarmTrendViewModel(IEventAggregator eventAggregator, IOrganizationService organizationService, IDatabaseComponent databaseComponent, ICardProcess cardProcess, IHardwareService hardwareService) { _eventAggregator = eventAggregator; _organizationService = organizationService; _databaseComponent = databaseComponent; _cardProcess = cardProcess; _hardwareService = hardwareService; Initialization = InitializeAsync(); }