public TaskDelegateAsync(CallActionAsync callAction, bool showTask = false, string description = null) { Label = callAction.Method.Name.TrimEnd("Async"); CallAction = callAction; UseTask = true; ShowTask = showTask; Description = description; }
// Lists read easier with the label as the first param public TaskDelegateAsync(string label, CallActionAsync callAction, bool showTask = false, string description = null) { Label = label; CallAction = callAction; UseTask = true; ShowTask = showTask; Description = description; }