Class AsyncActionFactory
- Namespace
- Cuemon.Threading
- Assembly
- Cuemon.Threading.dll
Provides access to factory methods for creating AsyncActionFactory<TTuple> instances that encapsulate a Task based function delegate with a variable amount of generic arguments.
public static class AsyncActionFactory
- Inheritance
-
AsyncActionFactory
Methods
Create(Func<CancellationToken, Task>)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
.
public static AsyncActionFactory<MutableTuple> Create(Func<CancellationToken, Task> method)
Parameters
method
Func<CancellationToken, Task>The Task based function delegate to invoke.
Returns
- AsyncActionFactory<MutableTuple>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
.
Create<T>(Func<T, CancellationToken, Task>, T)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and one generic argument.
public static AsyncActionFactory<MutableTuple<T>> Create<T>(Func<T, CancellationToken, Task> method, T arg)
Parameters
method
Func<T, CancellationToken, Task>The Task based function delegate to invoke.
arg
TThe parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and one generic argument.
Type Parameters
T
The type of the parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and ten generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.arg9
T9The ninth parameter of the delegate
method
.arg10
T10The tenth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and ten generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.T9
The type of the ninth parameter of the delegate
method
.T10
The type of the tenth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and eleven generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.arg9
T9The ninth parameter of the delegate
method
.arg10
T10The tenth parameter of the delegate
method
.arg11
T11The eleventh parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and eleven generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.T9
The type of the ninth parameter of the delegate
method
.T10
The type of the tenth parameter of the delegate
method
.T11
The type of the eleventh parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and twelfth generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.arg9
T9The ninth parameter of the delegate
method
.arg10
T10The tenth parameter of the delegate
method
.arg11
T11The eleventh parameter of the delegate
method
.arg12
T12The twelfth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and twelfth generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.T9
The type of the ninth parameter of the delegate
method
.T10
The type of the tenth parameter of the delegate
method
.T11
The type of the eleventh parameter of the delegate
method
.T12
The type of the twelfth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and thirteen generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.arg9
T9The ninth parameter of the delegate
method
.arg10
T10The tenth parameter of the delegate
method
.arg11
T11The eleventh parameter of the delegate
method
.arg12
T12The twelfth parameter of the delegate
method
.arg13
T13The thirteenth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and thirteen generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.T9
The type of the ninth parameter of the delegate
method
.T10
The type of the tenth parameter of the delegate
method
.T11
The type of the eleventh parameter of the delegate
method
.T12
The type of the twelfth parameter of the delegate
method
.T13
The type of the thirteenth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and fourteen generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.arg9
T9The ninth parameter of the delegate
method
.arg10
T10The tenth parameter of the delegate
method
.arg11
T11The eleventh parameter of the delegate
method
.arg12
T12The twelfth parameter of the delegate
method
.arg13
T13The thirteenth parameter of the delegate
method
.arg14
T14The fourteenth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and fourteen generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.T9
The type of the ninth parameter of the delegate
method
.T10
The type of the tenth parameter of the delegate
method
.T11
The type of the eleventh parameter of the delegate
method
.T12
The type of the twelfth parameter of the delegate
method
.T13
The type of the thirteenth parameter of the delegate
method
.T14
The type of the fourteenth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and fifteen generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.arg9
T9The ninth parameter of the delegate
method
.arg10
T10The tenth parameter of the delegate
method
.arg11
T11The eleventh parameter of the delegate
method
.arg12
T12The twelfth parameter of the delegate
method
.arg13
T13The thirteenth parameter of the delegate
method
.arg14
T14The fourteenth parameter of the delegate
method
.arg15
T15The fifteenth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and fifteen generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.T9
The type of the ninth parameter of the delegate
method
.T10
The type of the tenth parameter of the delegate
method
.T11
The type of the eleventh parameter of the delegate
method
.T12
The type of the twelfth parameter of the delegate
method
.T13
The type of the thirteenth parameter of the delegate
method
.T14
The type of the fourteenth parameter of the delegate
method
.T15
The type of the fifteenth parameter of the delegate
method
.
Create<T1, T2>(Func<T1, T2, CancellationToken, Task>, T1, T2)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and two generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2>> Create<T1, T2>(Func<T1, T2, CancellationToken, Task> method, T1 arg1, T2 arg2)
Parameters
method
Func<T1, T2, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and two generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.
Create<T1, T2, T3>(Func<T1, T2, T3, CancellationToken, Task>, T1, T2, T3)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and three generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3>> Create<T1, T2, T3>(Func<T1, T2, T3, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3)
Parameters
method
Func<T1, T2, T3, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and three generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.
Create<T1, T2, T3, T4>(Func<T1, T2, T3, T4, CancellationToken, Task>, T1, T2, T3, T4)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and four generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4>> Create<T1, T2, T3, T4>(Func<T1, T2, T3, T4, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Parameters
method
Func<T1, T2, T3, T4, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and four generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, CancellationToken, Task>, T1, T2, T3, T4, T5)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and five generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5>> Create<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
Parameters
method
Func<T1, T2, T3, T4, T5, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and five generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, CancellationToken, Task>, T1, T2, T3, T4, T5, T6)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and six generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6>> Create<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and six generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and seven generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7>> Create<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and seven generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and eight generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8>> Create<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and eight generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, CancellationToken, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Creates a new AsyncActionFactory<TTuple> instance encapsulating the specified method
and nine generic arguments.
public static AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, CancellationToken, Task> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
Parameters
method
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, CancellationToken, Task>The Task based function delegate to invoke.
arg1
T1The first parameter of the delegate
method
.arg2
T2The second parameter of the delegate
method
.arg3
T3The third parameter of the delegate
method
.arg4
T4The fourth parameter of the delegate
method
.arg5
T5The fifth parameter of the delegate
method
.arg6
T6The sixth parameter of the delegate
method
.arg7
T7The seventh parameter of the delegate
method
.arg8
T8The eighth parameter of the delegate
method
.arg9
T9The ninth parameter of the delegate
method
.
Returns
- AsyncActionFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>>
An instance of AsyncActionFactory<TTuple> object initialized with the specified
method
and nine generic arguments.
Type Parameters
T1
The type of the first parameter of the delegate
method
.T2
The type of the second parameter of the delegate
method
.T3
The type of the third parameter of the delegate
method
.T4
The type of the fourth parameter of the delegate
method
.T5
The type of the fifth parameter of the delegate
method
.T6
The type of the sixth parameter of the delegate
method
.T7
The type of the seventh parameter of the delegate
method
.T8
The type of the eighth parameter of the delegate
method
.T9
The type of the ninth parameter of the delegate
method
.