public SettingsViewModel(AppConfig config, IThemeSelectorService themeSelectorService, ISystemService systemService, IApplicationInfoService applicationInfoService) { _config = config; _themeSelectorService = themeSelectorService; _systemService = systemService; _applicationInfoService = applicationInfoService; }
public ApplicationHostService(INavigationService navigationService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService, IToastNotificationsService toastNotificationsService) { _navigationService = navigationService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; _toastNotificationsService = toastNotificationsService; }
public ApplicationHostService(IServiceProvider serviceProvider, INavigationService navigationService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService) { _serviceProvider = serviceProvider; _navigationService = navigationService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; }
//}]} public ActivationService(/*{[{*/ IThemeSelectorService themeSelectorService /*}]}*/) { //^^ //{[{ _themeSelectorService = themeSelectorService; //}]} }
public SettingsViewModel(IOptions <AppConfig> config, IThemeSelectorService themeSelectorService, IUserDataService userDataService, IIdentityService identityService) { _config = config.Value; _themeSelectorService = themeSelectorService; _userDataService = userDataService; _identityService = identityService; }
public CustomControl() { InitializeComponent(); _themeSelectorService = _host.Services.GetService(typeof(IThemeSelectorService)) as IThemeSelectorService; _themeSelectorService.ThemeChanged += OnThemeChanged; GetColors(); }
public ApplicationHostService(INavigationService navigationService, IRightPaneService rightPaneService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService) { _navigationService = navigationService; _rightPaneService = rightPaneService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; }
//}]} public ApplicationHostService(/*{[{*/ IThemeSelectorService themeSelectorService /*}]}*/) { //^^ //{[{ _themeSelectorService = themeSelectorService; //}]} }
public SettingsViewModel(IOptions <AppConfig> appConfig, IThemeSelectorService themeSelectorService, ISystemService systemService, IApplicationInfoService applicationInfoService) { _appConfig = appConfig.Value; _themeSelectorService = themeSelectorService; _systemService = systemService; _applicationInfoService = applicationInfoService; }
public XAMLIslandControl() { InitializeComponent(); _themeSelectorService = ((App)Application.Current).GetService <IThemeSelectorService>(); _themeSelectorService.ThemeChanged += OnThemeChanged; GetColors(); }
public SettingsViewModel(IThemeSelectorService themeSelectorService) { _themeSelectorService = themeSelectorService; _elementTheme = _themeSelectorService.Theme; SwitchThemeCommand = new AsyncRelayCommand <ElementTheme>(SwitchThemeCommandBehavior); }
public ActivationService(IShellWindow shellWindow, ActivationHandler <LaunchActivatedEventArgs> defaultHandler, IEnumerable <IActivationHandler> activationHandlers, INavigationService navigationService, IThemeSelectorService themeSelectorService) { App.MainWindow = shellWindow as Window; _defaultHandler = defaultHandler; _activationHandlers = activationHandlers; _navigationService = navigationService; _themeSelectorService = themeSelectorService; }
public SettingsViewModel(AppConfig config, IThemeSelectorService themeSelectorService, ISystemService systemService, IUserDataService userDataService, IIdentityService identityService) { _config = config; _themeSelectorService = themeSelectorService; _systemService = systemService; _userDataService = userDataService; _identityService = identityService; }
public ApplicationHostService(INavigationService navigationService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService, IIdentityService identityService, IUserDataService userDataService, AppConfig config) { _navigationService = navigationService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; _identityService = identityService; _userDataService = userDataService; _config = config; }
public ApplicationHostService(IServiceProvider serviceProvider, IEnumerable <IActivationHandler> activationHandlers, INavigationService navigationService, IRightPaneService rightPaneService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService) { _serviceProvider = serviceProvider; _activationHandlers = activationHandlers; _navigationService = navigationService; _rightPaneService = rightPaneService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; }
public SettingsPage(IOptions <AppConfig> appConfig, IThemeSelectorService themeSelectorService, ISystemService systemService, IApplicationInfoService applicationInfoService) { _appConfig = appConfig.Value; _themeSelectorService = themeSelectorService; _systemService = systemService; _applicationInfoService = applicationInfoService; InitializeComponent(); DataContext = this; }
public ApplicationHostService(IServiceProvider serviceProvider, IEnumerable <IActivationHandler> activationHandlers, INavigationService navigationService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService, IOptions <AppConfig> appConfig, IToastNotificationsService toastNotificationsService) { _serviceProvider = serviceProvider; _activationHandlers = activationHandlers; _navigationService = navigationService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; _appConfig = appConfig.Value; _toastNotificationsService = toastNotificationsService; }
public ApplicationHostService(IServiceProvider serviceProvider, INavigationService navigationService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService, IIdentityService identityService, IUserDataService userDataService, IOptions <AppConfig> config) { _serviceProvider = serviceProvider; _navigationService = navigationService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; _identityService = identityService; _userDataService = userDataService; _config = config.Value; }
public ApplicationHostService(IServiceProvider serviceProvider, IEnumerable <IActivationHandler> activationHandlers, INavigationService navigationService, IRightPaneService rightPaneService, IThemeSelectorService themeSelectorService, IPersistAndRestoreService persistAndRestoreService, IToastNotificationsService toastNotificationsService, IIdentityService identityService, IUserDataService userDataService, IOptions <AppConfig> config) { _serviceProvider = serviceProvider; _activationHandlers = activationHandlers; _navigationService = navigationService; _rightPaneService = rightPaneService; _themeSelectorService = themeSelectorService; _persistAndRestoreService = persistAndRestoreService; _toastNotificationsService = toastNotificationsService; _identityService = identityService; _userDataService = userDataService; _appConfig = config.Value; }
public ActivationService(IShellWindow shellWindow, ActivationHandler <LaunchActivatedEventArgs> defaultHandler, IEnumerable <IActivationHandler> activationHandlers, INavigationService navigationService, IThemeSelectorService themeSelectorService, ILanguageSelectorService languageSelectorService, ISettingsService settingsService) { App.MainWindow = shellWindow as Window; this.defaultHandler = defaultHandler; this.activationHandlers = activationHandlers; this.navigationService = navigationService; this.themeSelectorService = themeSelectorService; this.languageSelectorService = languageSelectorService; this.settingsService = settingsService; }
public SettingsViewModel(IThemeSelectorService themeSelectorService) { _themeSelectorService = themeSelectorService; _elementTheme = _themeSelectorService.Theme; VersionDescription = GetVersionDescription(); }