public static void ExecuteAndOk(this ITask task, params Action[] actions) { if (task.Execute(actions)) task.OK(); }