private void OnExecuteAutomationCommand(CommandContainerButton obj) { ExecuteAutomationCommand(obj.CommandContainer.AutomationCommand, obj.SelectedValue, obj.GetNextValue()); obj.NextValue(); }
private bool CanExecuteAutomationCommand(CommandContainerButton arg) { return(arg.IsEnabled && arg.CommandContainer.CanExecute(SelectedTicket) && _expressionService.EvalCommand(FunctionNames.CanExecuteAutomationCommand, arg.CommandContainer.AutomationCommand, new { Ticket = SelectedTicket }, true)); }