Table of Contents

Class FuncFactory

Namespace
Cuemon.Extensions
Assembly
Cuemon.Extensions.Core.dll

Provides access to factory methods for creating FuncFactory<TTuple, TResult> instances that encapsulate a function delegate with a variable amount of generic arguments.

public static class FuncFactory
Inheritance
FuncFactory

Methods

Create<TResult>(Func<TResult>)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method.

public static FuncFactory<MutableTuple, TResult> Create<TResult>(Func<TResult> method)

Parameters

method Func<TResult>

The function delegate to invoke.

Returns

FuncFactory<MutableTuple, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method.

Type Parameters

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and nine generic arguments.

public static FuncFactory<MutableTuple<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, TResult> 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, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

arg9 T9

The ninth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and nine generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

T9

The type of the ninth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and ten generic arguments.

public static FuncFactory<MutableTuple<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, TResult> 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, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

arg9 T9

The ninth parameter of the function delegate method.

arg10 T10

The tenth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and ten generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

T9

The type of the ninth parameter of the function delegate method.

T10

The type of the tenth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

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, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and eleven generic arguments.

public static FuncFactory<MutableTuple<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, 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

method Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

arg9 T9

The ninth parameter of the function delegate method.

arg10 T10

The tenth parameter of the function delegate method.

arg11 T11

The eleventh parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and eleven generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

T9

The type of the ninth parameter of the function delegate method.

T10

The type of the tenth parameter of the function delegate method.

T11

The type of the eleventh parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

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, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and twelfth generic arguments.

public static FuncFactory<MutableTuple<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, 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

method Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

arg9 T9

The ninth parameter of the function delegate method.

arg10 T10

The tenth parameter of the function delegate method.

arg11 T11

The eleventh parameter of the function delegate method.

arg12 T12

The twelfth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and twelfth generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

T9

The type of the ninth parameter of the function delegate method.

T10

The type of the tenth parameter of the function delegate method.

T11

The type of the eleventh parameter of the function delegate method.

T12

The type of the twelfth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

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, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and thirteen generic arguments.

public static FuncFactory<MutableTuple<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, 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

method Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

arg9 T9

The ninth parameter of the function delegate method.

arg10 T10

The tenth parameter of the function delegate method.

arg11 T11

The eleventh parameter of the function delegate method.

arg12 T12

The twelfth parameter of the function delegate method.

arg13 T13

The thirteenth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and thirteen generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

T9

The type of the ninth parameter of the function delegate method.

T10

The type of the tenth parameter of the function delegate method.

T11

The type of the eleventh parameter of the function delegate method.

T12

The type of the twelfth parameter of the function delegate method.

T13

The type of the thirteenth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

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, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and fourteen generic arguments.

public static FuncFactory<MutableTuple<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, 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

method Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

arg9 T9

The ninth parameter of the function delegate method.

arg10 T10

The tenth parameter of the function delegate method.

arg11 T11

The eleventh parameter of the function delegate method.

arg12 T12

The twelfth parameter of the function delegate method.

arg13 T13

The thirteenth parameter of the function delegate method.

arg14 T14

The fourteenth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and fourteen generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

T9

The type of the ninth parameter of the function delegate method.

T10

The type of the tenth parameter of the function delegate method.

T11

The type of the eleventh parameter of the function delegate method.

T12

The type of the twelfth parameter of the function delegate method.

T13

The type of the thirteenth parameter of the function delegate method.

T14

The type of the fourteenth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

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, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and fifteen generic arguments.

public static FuncFactory<MutableTuple<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, 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

method Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

arg9 T9

The ninth parameter of the function delegate method.

arg10 T10

The tenth parameter of the function delegate method.

arg11 T11

The eleventh parameter of the function delegate method.

arg12 T12

The twelfth parameter of the function delegate method.

arg13 T13

The thirteenth parameter of the function delegate method.

arg14 T14

The fourteenth parameter of the function delegate method.

arg15 T15

The fifteenth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and fifteen generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

T9

The type of the ninth parameter of the function delegate method.

T10

The type of the tenth parameter of the function delegate method.

T11

The type of the eleventh parameter of the function delegate method.

T12

The type of the twelfth parameter of the function delegate method.

T13

The type of the thirteenth parameter of the function delegate method.

T14

The type of the fourteenth parameter of the function delegate method.

T15

The type of the fifteenth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T, TResult>(Func<T, TResult>, T)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and one generic argument.

public static FuncFactory<MutableTuple<T>, TResult> Create<T, TResult>(Func<T, TResult> method, T arg)

Parameters

method Func<T, TResult>

The function delegate to invoke.

arg T

The parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and one generic argument.

Type Parameters

T

The type of the parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, TResult>(Func<T1, T2, TResult>, T1, T2)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and two generic arguments.

public static FuncFactory<MutableTuple<T1, T2>, TResult> Create<T1, T2, TResult>(Func<T1, T2, TResult> method, T1 arg1, T2 arg2)

Parameters

method Func<T1, T2, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and two generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, TResult>(Func<T1, T2, T3, TResult>, T1, T2, T3)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and three generic arguments.

public static FuncFactory<MutableTuple<T1, T2, T3>, TResult> Create<T1, T2, T3, TResult>(Func<T1, T2, T3, TResult> method, T1 arg1, T2 arg2, T3 arg3)

Parameters

method Func<T1, T2, T3, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and three generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, TResult>, T1, T2, T3, T4)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and four generic arguments.

public static FuncFactory<MutableTuple<T1, T2, T3, T4>, TResult> Create<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, TResult> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)

Parameters

method Func<T1, T2, T3, T4, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and four generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, TResult>, T1, T2, T3, T4, T5)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and five generic arguments.

public static FuncFactory<MutableTuple<T1, T2, T3, T4, T5>, TResult> Create<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, TResult> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)

Parameters

method Func<T1, T2, T3, T4, T5, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and five generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, TResult>, T1, T2, T3, T4, T5, T6)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and six generic arguments.

public static FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6>, TResult> Create<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, TResult> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)

Parameters

method Func<T1, T2, T3, T4, T5, T6, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and six generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, TResult>, T1, T2, T3, T4, T5, T6, T7)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and seven generic arguments.

public static FuncFactory<MutableTuple<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, TResult> 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, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and seven generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Create<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>, T1, T2, T3, T4, T5, T6, T7, T8)

Creates a new FuncFactory<TTuple, TResult> instance encapsulating the specified method and eight generic arguments.

public static FuncFactory<MutableTuple<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, TResult> 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, TResult>

The function delegate to invoke.

arg1 T1

The first parameter of the function delegate method.

arg2 T2

The second parameter of the function delegate method.

arg3 T3

The third parameter of the function delegate method.

arg4 T4

The fourth parameter of the function delegate method.

arg5 T5

The fifth parameter of the function delegate method.

arg6 T6

The sixth parameter of the function delegate method.

arg7 T7

The seventh parameter of the function delegate method.

arg8 T8

The eighth parameter of the function delegate method.

Returns

FuncFactory<MutableTuple<T1, T2, T3, T4, T5, T6, T7, T8>, TResult>

An instance of FuncFactory<TTuple, TResult> object initialized with the specified method and eight generic arguments.

Type Parameters

T1

The type of the first parameter of the function delegate method.

T2

The type of the second parameter of the function delegate method.

T3

The type of the third parameter of the function delegate method.

T4

The type of the fourth parameter of the function delegate method.

T5

The type of the fifth parameter of the function delegate method.

T6

The type of the sixth parameter of the function delegate method.

T7

The type of the seventh parameter of the function delegate method.

T8

The type of the eighth parameter of the function delegate method.

TResult

The type of the return value of the function delegate method.

Invoke<TTuple, TResult>(Func<TTuple, TResult>, TTuple)

Invokes the specified delegate method with a n-tuple argument.

public static TResult Invoke<TTuple, TResult>(Func<TTuple, TResult> method, TTuple tuple)
    where TTuple : MutableTuple

Parameters

method Func<TTuple, TResult>

The function delegate to invoke.

tuple TTuple

The n-tuple argument of method.

Returns

TResult

The result of the function delegate method.

Type Parameters

TTuple

The type of the n-tuple representation of a MutableTuple.

TResult

The type of the return value of the function delegate method.