public TimestampVisibilityConfigurationSynchronizer(IConfigurationService configurationService, ILogTableService logTableService, ILogTableConfigurationService logTableConfigurationService) { Argument.IsNotNull(() => configurationService); Argument.IsNotNull(() => logTableService); Argument.IsNotNull(() => logTableConfigurationService); _logTableConfigurationService = logTableConfigurationService; _logTable = logTableService.LogTable; configurationService.ConfigurationChanged += OnConfigurationChanged; ApplyConfiguration(); }
public SettingsViewModel(IConfigurationService configurationService, IWorkspaceManager workspaceManager, IManageAppDataService manageAppDataService, IUpdateService updateService, ILogTableConfigurationService logTableConfigurationService) { Argument.IsNotNull(() => configurationService); Argument.IsNotNull(() => workspaceManager); Argument.IsNotNull(() => manageAppDataService); Argument.IsNotNull(() => updateService); Argument.IsNotNull(() => logTableConfigurationService); _configurationService = configurationService; _workspaceManager = workspaceManager; _manageAppDataService = manageAppDataService; _updateService = updateService; _logTableConfigurationService = logTableConfigurationService; OpenApplicationDataDirectory = new Command(OnOpenApplicationDataDirectoryExecute); BackupUserData = new TaskCommand(OnBackupUserDataExecuteAsync); Title = "Settings"; }
public SettingsViewModel(IConfigurationService configurationService, IWorkspaceManager workspaceManager, IManageUserDataService manageUserDataService, IUpdateService updateService, ILogTableConfigurationService logTableConfigurationService) { Argument.IsNotNull(() => configurationService); Argument.IsNotNull(() => workspaceManager); Argument.IsNotNull(() => manageUserDataService); Argument.IsNotNull(() => updateService); Argument.IsNotNull(() => logTableConfigurationService); _configurationService = configurationService; _workspaceManager = workspaceManager; _manageUserDataService = manageUserDataService; _updateService = updateService; _logTableConfigurationService = logTableConfigurationService; OpenApplicationDataDirectory = new Command(OnOpenApplicationDataDirectoryExecute); BackupUserData = new Command(OnBackupUserDataExecute); ResetFilters = new Command(OnResetFiltersExecute); ResetWorkspaces = new Command(OnResetWorkspacesExecute); Title = "Settings"; }