internal SaveConfigurationCommand(ConfigurationViewModel viewModel, Settings settings, IRunHotKeyService runHotKey, ShortcutService shortcutService) { Ensure.NotNull(viewModel, "viewModel"); Ensure.NotNull(settings, "settings"); Ensure.NotNull(runHotKey, "runHotKey"); Ensure.NotNull(shortcutService, "shortcutService"); this.viewModel = viewModel; this.settings = settings; this.runHotKey = runHotKey; this.shortcutService = shortcutService; }