public ProfileService(ILogger logger, IPluginManagementService pluginManagementService, IRgbService rgbService, IConditionOperatorService conditionOperatorService, IDataBindingService dataBindingService, IProfileRepository profileRepository) { _logger = logger; _pluginManagementService = pluginManagementService; _rgbService = rgbService; _profileRepository = profileRepository; _rgbService.LedsChanged += RgbServiceOnLedsChanged; }
internal ProfileService(ILogger logger, IPluginService pluginService, ISurfaceService surfaceService, IConditionOperatorService conditionOperatorService, IDataBindingService dataBindingService, IProfileRepository profileRepository) { _logger = logger; _pluginService = pluginService; _surfaceService = surfaceService; _profileRepository = profileRepository; _surfaceService.ActiveSurfaceConfigurationSelected += OnActiveSurfaceConfigurationSelected; _surfaceService.SurfaceConfigurationUpdated += OnSurfaceConfigurationUpdated; }
public DataBindingModifierViewModel(DataBindingModifier <TLayerProperty, TProperty> modifier, IDataBindingService dataBindingService, ISettingsService settingsService, IDataModelUIService dataModelUIService, IProfileEditorService profileEditorService) { _dataBindingService = dataBindingService; _dataModelUIService = dataModelUIService; _profileEditorService = profileEditorService; ShowDataModelValues = settingsService.GetSetting <bool>("ProfileEditor.ShowDataModelValues"); Modifier = modifier; SelectModifierTypeCommand = new DelegateCommand(ExecuteSelectModifierTypeCommand); Update(); }