public EditorActionsProvider(EditorUIApplication editorApplication) { if (editorApplication == null) throw new ArgumentNullException("editorApplication"); this.editorApplication = editorApplication; }
public SearchBindingProvider(EditorUIApplication editor) { if (editor == null) throw new ArgumentNullException("editor"); this.editor = editor; SearchAndStopCommand = new GenericCommand(_ => { if (searching) Stop(); else Search(); }); }