protected AbstractNeonComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService) { Logger = loggerFactory.CreateLogger(GetType()); Config = new TConfig(); IoTService = ioTService; ComponentsService = componentsService; }
public ComponentAssetMappingService(IComponentAssetMappingRepository componentAssetMappingRepository, IAssetRepository assetRepository, IEmployeeService employeeService, IComponentsService componentsService) { _componentAssetMappingRepository = componentAssetMappingRepository; _assetRepository = assetRepository; _employeeService = employeeService; _componentsService = componentsService; }
public ComponentsController(IComponentsService componentsService, IComponentTypeService componentTypeService, IComponentAssetMappingService componentAssetMappingService, ILog logger) { _componentsService = componentsService; _componentTypeService = componentTypeService; _componentAssetMappingService = componentAssetMappingService; _logger = logger; }
public DirectLinkHub(IServiceProvider provider) { _provider = provider; _authenticationService = provider.GetService <IAuthenticationService>(); _authorizationService = provider.GetService <IAuthorizationService>(); _routingService = provider.GetRequiredService <IRoutingService>(); _componentsService = provider.GetRequiredService <IComponentsService>(); var options = provider.GetRequiredService <DirectLinkOptionsProvider>().Options; _requestsPerSecond = options.RequestsPerSecond; if (_requestsPerSecond > 0) { _queuedRequestCount = options.QueuedRequestCount; _maxLinkCount = options.MaxLinkCount; _requestDelay = 1000 / _requestsPerSecond; _requestDelayTicks = _requestDelay * 10000; } _logger = provider.GetRequiredService <ILogger <DirectLinkHub> >(); if (HubContext == null) { HubContext = provider.GetRequiredService <IHubContext <DirectLinkHub> >(); } }
public AssetService(IAssetCategoryService assetCategoryService , IAssetTypeService assetTypeService , IAssetRepository assetRepository , IHardwareAssetService hardwareAssetService , ISoftwareAssetService softwareAssetService , IAssetTrackerService assetTrackerService , IEmployeeService employeeService , IComponentTypeService componentTypeService , IComponentsService componentsService , IComponentAssetMappingService componentAssetMappingService , IEmployeeAssetMappingRepository employeeAssetMappingRepository , IComponentTrackerService componentTrackerService) { _assetCategoryService = assetCategoryService; _assetTypeService = assetTypeService; _assetRepository = assetRepository; _hardwareAssetService = hardwareAssetService; _softwareAssetService = softwareAssetService; _assetTrackerService = assetTrackerService; _employeeService = employeeService; _componentTypeService = componentTypeService; _componentsService = componentsService; _componentAssetMappingService = componentAssetMappingService; _employeeAssetMappingRepository = employeeAssetMappingRepository; _componentTrackerService = componentTrackerService; }
public AdminController(IServicesManager servicesManager, IScriptService scriptService, IComponentsService componentsService, IUserInteractionService userInteractionService, ISchedulerService schedulerService) { _userInteractionService = userInteractionService; _servicesManager = servicesManager; _scriptService = scriptService; _componentsService = componentsService; _schedulerService = schedulerService; }
public SpotifyComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IHttpClientFactory httpClientFactory, ISchedulerService schedulerService, IUserInteractionService userInteractionService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { _schedulerService = schedulerService; _userInteractionService = userInteractionService; _httpClient = httpClientFactory.CreateClient(); }
public PanasonicAirCondComponent(ILogger <IPanasonicAirCondComponent> logger, IComponentsService componentsService, ISchedulerService schedulerService, IIoTService ioTService, IHttpClientFactory clientFactory, IEventDatabaseService eventDatabaseService) { _logger = logger; _componentsService = componentsService; _schedulerService = schedulerService; _ioTService = ioTService; _httpClientFactory = clientFactory; _eventDatabaseService = eventDatabaseService; }
public PhilipHueComponent(ILogger <PhilipHueComponent> logger, IComponentsService componentsService, IEventDatabaseService eventDatabaseService, IIoTService ioTService, ISchedulerService schedulerService, IUserInteractionService userInteractionService) { _logger = logger; _componentsService = componentsService; _userInteractionService = userInteractionService; _ioTService = ioTService; _eventDatabaseService = eventDatabaseService; _schedulerService = schedulerService; }
public SpotifyWebComponent(ILogger <SpotifyWebComponent> logger, IComponentsService componentsService, IUserInteractionService userInteractionService, IEventDatabaseService eventDatabaseService, IIoTService ioTService, ISchedulerService schedulerService, IHttpClientFactory httpClientFactory) { _logger = logger; _schedulerService = schedulerService; _componentsService = componentsService; _userInteractionService = userInteractionService; _ioTService = ioTService; _httpClient = httpClientFactory.CreateClient(); }
public CommandDispatcherService(ILogger <ICommandDispatcherService> logger, IComponentsService componentsService, INotificationService notificationService) { _logger = logger; _notificationService = notificationService; _componentsService = componentsService; _componentsService.RunningComponents.CollectionChanged += (sender, s) => { var oc = (ObservableCollection <RunningComponentInfo>)sender; //_commands.Clear(); var readonlyList = s.NewItems[0] as RunningComponentInfo; ScanCommands(new List <RunningComponentInfo>() { readonlyList }); }; }
public DirectLinkData( string app, IServiceProvider provider, IAuthorizationService authorizationService, IComponentsService componentsService ) { _provider = provider; _authorizationService = authorizationService; _componentsService = componentsService; this.App = app; this.Title = null; this.States = new Dictionary <string, object>(); this.Scripts = new Dictionary <string, string>(); this.Styles = new Dictionary <string, string>(); this.Methods = new Dictionary <string, IList <string> >(); this.Bidirectional = new HashSet <string>(); this.Message = null; this.IsRouted = false; this.IsAuthorized = true; }
public RoutingService( IServiceProvider provider, IAuthorizationService authorizationService, IComponentsService componentsService, DirectLinkOptionsProvider optionsProvider ) { _provider = provider; _authorizationService = authorizationService; _componentsService = componentsService; var routingEvents = provider.GetService <IRoutingEvents>(); _onStarting = routingEvents?.OnStarting() ?? Task.CompletedTask; _onCompleted = data => routingEvents?.OnCompleted(data) ?? Task.CompletedTask; var options = optionsProvider.Options; _entryType = options.EntryType; _notFoundPath = options.NotFoundPath; _notAuthPath = options.NotAuthPath; _errorPath = options.ErrorPath; _pathBases = new List <string>(options.PathBases); }
public PlexHookComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { }
public ExpensesController(IExpenseService expenses, IExpenseGroupService expenseGroups, IComponentsService componentsService) { this.expensesService = expenses; this.expenseGroupService = expenseGroups; this.componentsService = componentsService; }
public ChromecastComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { }
public IncomesController(IMonthlyIncomeService monthlyIncomeService, IComponentsService componentsService) { this.componentsService = componentsService; this.monthlyIncomeService = monthlyIncomeService; }
public SonarrComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { }
public PhilipHueComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { }
public SystemMonitorComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { }
public OwnTracksComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IMqttService mqttService, NeonConfig neonConfig, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { _mqttService = mqttService; _config = neonConfig; }
public ComponentsController(IComponentsService componentsService) { _componentsService = componentsService; }
public PanasonicAirComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService, IHttpClientFactory httpClientFactory) : base(loggerFactory, ioTService, componentsService) { _aircoManager = new AircoManager(httpClientFactory.CreateClient()); }
/// <summary> /// ctor /// </summary> /// <param name="logger"></param> /// <param name="componentsService"></param> public ComponentsServiceLuaObject(ILogger <ComponentsServiceLuaObject> logger, IComponentsService componentsService) { _logger = logger; _componentsService = componentsService; }
public DarkSkyComponent(ILoggerFactory loggerFactory, IIoTService ioTService, NeonConfig neonConfig, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { _homeConfig = neonConfig.HomeConfig; }
public SunComponent(ILoggerFactory loggerFactory, IIoTService ioTService, NeonConfig neonConfig, IComponentsService componentsService, IHttpClientFactory httpClientFactory) : base(loggerFactory, ioTService, componentsService) { _homeConfig = neonConfig.HomeConfig; _httpClient = httpClientFactory.CreateClient(); }
public UserDashboardController(IExpenseService expenseService, IComponentsService componentsService) { this.expenseService = expenseService; this.componentsService = componentsService; }
public SonoffTasmodaComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IMqttService mqttService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { _mqttService = mqttService; }
public BroadlinkComponent(ILoggerFactory loggerFactory, IIoTService ioTService, IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService) { }
public ComponentsController(IComponentsService componentsService, ICurrenciesService currenciesService, IComponentTypesService componentTypesService) { this.componentsService = componentsService; this.currenciesService = currenciesService; this.componentTypesService = componentTypesService; }