Class TaskFuncFactory
Provides access to factory methods for creating TaskFuncFactory<TTuple, TResult> instances that encapsulate a System.Threading.Tasks.Task<TResult> based function delegate with a variable amount of generic arguments.
Inheritance
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public static class TaskFuncFactory
Methods
| Improve this DocCreate<TResult>(Func<Task<TResult>>)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
.
Declaration
public static TaskFuncFactory<Template, TResult> Create<TResult>(Func<Task<TResult>> method)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and nine generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and ten generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
T10 | arg10 | The tenth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
T10 | The type of the tenth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and eleven generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
T10 | arg10 | The tenth parameter of the function delegate |
T11 | arg11 | The eleventh parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
T10 | The type of the tenth parameter of the function delegate |
T11 | The type of the eleventh parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and twelfth generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Task<TResult>> 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
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
T10 | arg10 | The tenth parameter of the function delegate |
T11 | arg11 | The eleventh parameter of the function delegate |
T12 | arg12 | The twelfth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
T10 | The type of the tenth parameter of the function delegate |
T11 | The type of the eleventh parameter of the function delegate |
T12 | The type of the twelfth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and thirteen generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Task<TResult>> 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
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
T10 | arg10 | The tenth parameter of the function delegate |
T11 | arg11 | The eleventh parameter of the function delegate |
T12 | arg12 | The twelfth parameter of the function delegate |
T13 | arg13 | The thirteenth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
T10 | The type of the tenth parameter of the function delegate |
T11 | The type of the eleventh parameter of the function delegate |
T12 | The type of the twelfth parameter of the function delegate |
T13 | The type of the thirteenth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and fourteen generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Task<TResult>> 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
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
T10 | arg10 | The tenth parameter of the function delegate |
T11 | arg11 | The eleventh parameter of the function delegate |
T12 | arg12 | The twelfth parameter of the function delegate |
T13 | arg13 | The thirteenth parameter of the function delegate |
T14 | arg14 | The fourteenth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
T10 | The type of the tenth parameter of the function delegate |
T11 | The type of the eleventh parameter of the function delegate |
T12 | The type of the twelfth parameter of the function delegate |
T13 | The type of the thirteenth parameter of the function delegate |
T14 | The type of the fourteenth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and fifteen generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Task<TResult>> 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
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
T10 | arg10 | The tenth parameter of the function delegate |
T11 | arg11 | The eleventh parameter of the function delegate |
T12 | arg12 | The twelfth parameter of the function delegate |
T13 | arg13 | The thirteenth parameter of the function delegate |
T14 | arg14 | The fourteenth parameter of the function delegate |
T15 | arg15 | The fifteenth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
T10 | The type of the tenth parameter of the function delegate |
T11 | The type of the eleventh parameter of the function delegate |
T12 | The type of the twelfth parameter of the function delegate |
T13 | The type of the thirteenth parameter of the function delegate |
T14 | The type of the fourteenth parameter of the function delegate |
T15 | The type of the fifteenth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and sixteen generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Task<TResult>> 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, T16 arg16)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
T9 | arg9 | The ninth parameter of the function delegate |
T10 | arg10 | The tenth parameter of the function delegate |
T11 | arg11 | The eleventh parameter of the function delegate |
T12 | arg12 | The twelfth parameter of the function delegate |
T13 | arg13 | The thirteenth parameter of the function delegate |
T14 | arg14 | The fourteenth parameter of the function delegate |
T15 | arg15 | The fifteenth parameter of the function delegate |
T16 | arg16 | The sixteenth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
T9 | The type of the ninth parameter of the function delegate |
T10 | The type of the tenth parameter of the function delegate |
T11 | The type of the eleventh parameter of the function delegate |
T12 | The type of the twelfth parameter of the function delegate |
T13 | The type of the thirteenth parameter of the function delegate |
T14 | The type of the fourteenth parameter of the function delegate |
T15 | The type of the fifteenth parameter of the function delegate |
T16 | The type of the sixteenth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T, TResult>(Func<T, Task<TResult>>, T)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and one generic argument.
Declaration
public static TaskFuncFactory<Template<T>, TResult> Create<T, TResult>(Func<T, Task<TResult>> method, T arg)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T | arg | The parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, TResult>(Func<T1, T2, Task<TResult>>, T1, T2)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and two generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2>, TResult> Create<T1, T2, TResult>(Func<T1, T2, Task<TResult>> method, T1 arg1, T2 arg2)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, TResult>(Func<T1, T2, T3, Task<TResult>>, T1, T2, T3)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and three generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3>, TResult> Create<T1, T2, T3, TResult>(Func<T1, T2, T3, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, Task<TResult>>, T1, T2, T3, T4)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and four generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4>, TResult> Create<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, Task<TResult>>, T1, T2, T3, T4, T5)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and five generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5>, TResult> Create<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, Task<TResult>>, T1, T2, T3, T4, T5, T6)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and six generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6>, TResult> Create<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and seven generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
TResult | The type of the return value of the function delegate |
Create<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8)
Creates a new TaskFuncFactory<TTuple, TResult> instance encapsulating the specified method
and eight generic arguments.
Declaration
public static TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8>, TResult> Create<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, Task<TResult>> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, System.Threading.Tasks.Task<TResult>> | method | The function delegate to invoke. |
T1 | arg1 | The first parameter of the function delegate |
T2 | arg2 | The second parameter of the function delegate |
T3 | arg3 | The third parameter of the function delegate |
T4 | arg4 | The fourth parameter of the function delegate |
T5 | arg5 | The fifth parameter of the function delegate |
T6 | arg6 | The sixth parameter of the function delegate |
T7 | arg7 | The seventh parameter of the function delegate |
T8 | arg8 | The eighth parameter of the function delegate |
Returns
Type | Description |
---|---|
TaskFuncFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8>, TResult> | An instance of TaskFuncFactory<TTuple, TResult> object initialized with the specified |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the function delegate |
T2 | The type of the second parameter of the function delegate |
T3 | The type of the third parameter of the function delegate |
T4 | The type of the fourth parameter of the function delegate |
T5 | The type of the fifth parameter of the function delegate |
T6 | The type of the sixth parameter of the function delegate |
T7 | The type of the seventh parameter of the function delegate |
T8 | The type of the eighth parameter of the function delegate |
TResult | The type of the return value of the function delegate |