private bool DeleteCommandEvent(Event evt) { return (((evt.type == EventType.ExecuteCommand) || (evt.type == EventType.ValidateCommand)) && ((evt.commandName == "Delete") || (evt.commandName == "SoftDelete"))); }