Show / Hide Table of Contents

    Class ActionFactory

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

    Inheritance
    System.Object
    ActionFactory
    Namespace: Cuemon
    Assembly: Cuemon.Core.dll
    Syntax
    public static class ActionFactory

    Methods

    | Improve this Doc

    Create(Action)

    Creates a new ActionFactory<TTuple> instance encapsulating the specified method.

    Declaration
    public static ActionFactory<Template> Create(Action method)
    Parameters
    Type Name Description
    System.Action method

    The delegate to invoke.

    Returns
    Type Description
    ActionFactory<Template>

    An instance of ActionFactory<TTuple> object initialized with the specified method.

    | Improve this Doc

    Create<T>(Action<T>, T)

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

    Declaration
    public static ActionFactory<Template<T>> Create<T>(Action<T> method, T arg)
    Parameters
    Type Name Description
    System.Action<T> method

    The delegate to invoke.

    T arg

    The parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T>>

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

    Type Parameters
    Name Description
    T

    The type of the parameter of the delegate method.

    | Improve this Doc

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

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> 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.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    T10 arg10

    The tenth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

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

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> 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.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    T10 arg10

    The tenth parameter of the delegate method.

    T11 arg11

    The eleventh parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

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

    Declaration
    public static ActionFactory<Template<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>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> 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.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    T10 arg10

    The tenth parameter of the delegate method.

    T11 arg11

    The eleventh parameter of the delegate method.

    T12 arg12

    The twelfth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

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

    Declaration
    public static ActionFactory<Template<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>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> 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.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    T10 arg10

    The tenth parameter of the delegate method.

    T11 arg11

    The eleventh parameter of the delegate method.

    T12 arg12

    The twelfth parameter of the delegate method.

    T13 arg13

    The thirteenth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

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

    Declaration
    public static ActionFactory<Template<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>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> 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.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    T10 arg10

    The tenth parameter of the delegate method.

    T11 arg11

    The eleventh parameter of the delegate method.

    T12 arg12

    The twelfth parameter of the delegate method.

    T13 arg13

    The thirteenth parameter of the delegate method.

    T14 arg14

    The fourteenth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

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

    Declaration
    public static ActionFactory<Template<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>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> 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.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    T10 arg10

    The tenth parameter of the delegate method.

    T11 arg11

    The eleventh parameter of the delegate method.

    T12 arg12

    The twelfth parameter of the delegate method.

    T13 arg13

    The thirteenth parameter of the delegate method.

    T14 arg14

    The fourteenth parameter of the delegate method.

    T15 arg15

    The fifteenth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)

    Creates a new ActionFactory<TTuple> instance encapsulating the specified method and sixteen generic arguments.

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> 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.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    T10 arg10

    The tenth parameter of the delegate method.

    T11 arg11

    The eleventh parameter of the delegate method.

    T12 arg12

    The twelfth parameter of the delegate method.

    T13 arg13

    The thirteenth parameter of the delegate method.

    T14 arg14

    The fourteenth parameter of the delegate method.

    T15 arg15

    The fifteenth parameter of the delegate method.

    T16 arg16

    The sixteenth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>

    An instance of ActionFactory<TTuple> object initialized with the specified method and sixteen generic arguments.

    Type Parameters
    Name Description
    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.

    T16

    The type of the sixteenth parameter of the delegate method.

    | Improve this Doc

    Create<T1, T2>(Action<T1, T2>, T1, T2)

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

    Declaration
    public static ActionFactory<Template<T1, T2>> Create<T1, T2>(Action<T1, T2> method, T1 arg1, T2 arg2)
    Parameters
    Type Name Description
    System.Action<T1, T2> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2>>

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

    Type Parameters
    Name Description
    T1

    The type of the first parameter of the delegate method.

    T2

    The type of the second parameter of the delegate method.

    | Improve this Doc

    Create<T1, T2, T3>(Action<T1, T2, T3>, T1, T2, T3)

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3>> Create<T1, T2, T3>(Action<T1, T2, T3> method, T1 arg1, T2 arg2, T3 arg3)
    Parameters
    Type Name Description
    System.Action<T1, T2, T3> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Create<T1, T2, T3, T4>(Action<T1, T2, T3, T4>, T1, T2, T3, T4)

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4>> Create<T1, T2, T3, T4>(Action<T1, T2, T3, T4> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
    Parameters
    Type Name Description
    System.Action<T1, T2, T3, T4> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Create<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5>, T1, T2, T3, T4, T5)

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5>> Create<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
    Parameters
    Type Name Description
    System.Action<T1, T2, T3, T4, T5> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

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

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5, T6>> Create<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
    Parameters
    Type Name Description
    System.Action<T1, T2, T3, T4, T5, T6> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

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

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7>> Create<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
    Parameters
    Type Name Description
    System.Action<T1, T2, T3, T4, T5, T6, T7> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

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

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8>> Create<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
    Parameters
    Type Name Description
    System.Action<T1, T2, T3, T4, T5, T6, T7, T8> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

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

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

    Declaration
    public static ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9>> Create<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
    Parameters
    Type Name Description
    System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> method

    The delegate to invoke.

    T1 arg1

    The first parameter of the delegate method.

    T2 arg2

    The second parameter of the delegate method.

    T3 arg3

    The third parameter of the delegate method.

    T4 arg4

    The fourth parameter of the delegate method.

    T5 arg5

    The fifth parameter of the delegate method.

    T6 arg6

    The sixth parameter of the delegate method.

    T7 arg7

    The seventh parameter of the delegate method.

    T8 arg8

    The eighth parameter of the delegate method.

    T9 arg9

    The ninth parameter of the delegate method.

    Returns
    Type Description
    ActionFactory<Template<T1, T2, T3, T4, T5, T6, T7, T8, T9>>

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

    Type Parameters
    Name Description
    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.

    | Improve this Doc

    Invoke<TTuple>(Action<TTuple>, TTuple)

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

    Declaration
    public static void Invoke<TTuple>(Action<TTuple> method, TTuple tuple)
        where TTuple : Template
    Parameters
    Type Name Description
    System.Action<TTuple> method

    The delegate to invoke.

    TTuple tuple

    The n-tuple argument of method.

    Type Parameters
    Name Description
    TTuple

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

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX