internal SwitchableContingService(Settings settings, ICountingAppender appender, ICountingReader reader)
 {
     Ensure.NotNull(settings, "settings");
     Ensure.NotNull(appender, "appender");
     Ensure.NotNull(reader, "reader");
     this.settings = settings;
     this.appender = appender;
     this.reader = reader;
 }
 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;
 }
        internal MainWindow(INavigator navigator, Settings settings, ProcessService processService, bool isClosedAfterStartingProcess)
        {
            Ensure.NotNull(navigator, "navigator");
            Ensure.NotNull(settings, "settings");
            Ensure.NotNull(processService, "processService");
            this.navigator = navigator;
            this.settings = settings;
            this.processService = processService;
            this.isClosedAfterStartingProcess = isClosedAfterStartingProcess;

            InitializeComponent();
            EventManager.FilePinned += OnFilePinned;
            DispatcherHelper = new DispatcherHelper(Dispatcher);

            fileThrottler = new ThrottlingHelper(DispatcherHelper, () => lvwFiles.SelectedIndex = 0, 0);
            applicationThrottler = new ThrottlingHelper(DispatcherHelper, () => lvwApplications.SelectedIndex = 0, 0);
        }