/// <summary> /// 执行 /// </summary> /// <param name="parameter"></param> public void Execute(object parameter) { if (CanExecute(parameter)) { CanExecuteChanged?.Invoke(this, null); delCommand.Invoke(); } }