internal static Task <Task> ThenWithArgs(Task task, Func <T1, T2, Task> successor, T1 arg1, T2 arg2) { return(TaskRunners <object, Task> .RunTask(task, () => successor(arg1, arg2))); }
internal static Task <TResult> ThenWithArgs(Task <T> task, Func <T, T1, TResult> successor, T1 arg1) { return(TaskRunners <T, TResult> .RunTask(task, t => successor(t.Result, arg1))); }
internal static Task <TResult> ThenWithArgs(Task task, Func <T1, TResult> successor, T1 arg1) { return(TaskRunners <object, TResult> .RunTask(task, () => successor(arg1))); }
internal static Task<Task<T>> ThenWithArgs(Task<T> task, Func<Task<T>, T1, Task<T>> successor, T1 arg1) { return TaskRunners<T, Task<T>>.RunTask(task, t => successor(t, arg1)); }
public static Task <Task> ThenWithArgs(Task task, Func <T1, Task> successor, T1 arg1) { return(TaskRunners <object, Task> .RunTask(task, () => successor(arg1))); }
public static Task <TResult> ThenWithArgs(Task task, Func <T1, T2, TResult> successor, T1 arg1, T2 arg2) { return(TaskRunners <object, TResult> .RunTask(task, () => successor(arg1, arg2))); }