public SettingsViewModel(IConfigurationService configurationService, IManageUserDataService manageUserDataService, IUpdateService updateService) { Argument.IsNotNull(() => configurationService); Argument.IsNotNull(() => manageUserDataService); Argument.IsNotNull(() => updateService); _configurationService = configurationService; _manageUserDataService = manageUserDataService; _updateService = updateService; OpenApplicationDataDirectory = new Command(OnOpenApplicationDataDirectoryExecute); BackupUserData = new Command(OnBackupUserDataExecute); 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 TaskCommand(OnBackupUserDataExecuteAsync); ResetFilters = new TaskCommand(OnResetFiltersExecuteAsync); ResetWorkspaces = new TaskCommand(OnResetWorkspacesExecuteAsync); 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"; }