void OnCancelKeyPress(object sender, ConsoleCancelEventArgs e) { if (_Command != null) { _Command.Abort(); } }