public Builder SetCommandRecognizer(ICommandRecognizer commandRecognizer) { _commandHandler._commandRecognizer = commandRecognizer; return(this); }
/// <summary> /// Default constructor. Also there is builder that help to testing /// this class and set custom executors and recognizers. /// </summary> public CommandHandler() { _nativeCommandExecutor = new NativeCommandExecutor(); _editorCommandExecutor = new EditorCommandExecutor(); _commandRecognizer = new CommandRecognizer(); }