Was this page helpful?

Invoke Method

    Table of contents
    1. 1. Invoke(CoroutineHandler<TResult> callee, TResult result)
      1. 1.1. Generic Parameters
        1. 1.1.1. Parameter TResult
      2. 1.2. Parameters
      3. 1.3. Returns
    2. 2. Invoke(CoroutineHandler<T1,TResult> callee, T1 arg1, TResult result)
      1. 2.1. Generic Parameters
        1. 2.1.1. Parameter T1
        2. 2.1.2. Parameter TResult
      2. 2.2. Parameters
      3. 2.3. Returns
    3. 3. Invoke(CoroutineHandler<T1,T2,TResult> callee, T1 arg1, T2 arg2, TResult result)
      1. 3.1. Generic Parameters
        1. 3.1.1. Parameter T1
        2. 3.1.2. Parameter T2
        3. 3.1.3. Parameter TResult
      2. 3.2. Parameters
      3. 3.3. Returns
    4. 4. Invoke(CoroutineHandler<T1,T2,T3,TResult> callee, T1 arg1, T2 arg2, T3 arg3, TResult result)
      1. 4.1. Generic Parameters
        1. 4.1.1. Parameter T1
        2. 4.1.2. Parameter T2
        3. 4.1.3. Parameter T3
        4. 4.1.4. Parameter TResult
      2. 4.2. Parameters
      3. 4.3. Returns
    5. 5. Invoke(CoroutineHandler<T1,T2,T3,T4,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, TResult result)
      1. 5.1. Generic Parameters
        1. 5.1.1. Parameter T1
        2. 5.1.2. Parameter T2
        3. 5.1.3. Parameter T3
        4. 5.1.4. Parameter T4
        5. 5.1.5. Parameter TResult
      2. 5.2. Parameters
      3. 5.3. Returns
    6. 6. Invoke(CoroutineHandler<T1,T2,T3,T4,T5,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, TResult result)
      1. 6.1. Generic Parameters
        1. 6.1.1. Parameter T1
        2. 6.1.2. Parameter T2
        3. 6.1.3. Parameter T3
        4. 6.1.4. Parameter T4
        5. 6.1.5. Parameter T5
        6. 6.1.6. Parameter TResult
      2. 6.2. Parameters
      3. 6.3. Returns
    7. 7. Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, TResult result)
      1. 7.1. Generic Parameters
        1. 7.1.1. Parameter T1
        2. 7.1.2. Parameter T2
        3. 7.1.3. Parameter T3
        4. 7.1.4. Parameter T4
        5. 7.1.5. Parameter T5
        6. 7.1.6. Parameter T6
        7. 7.1.7. Parameter TResult
      2. 7.2. Parameters
      3. 7.3. Returns
    8. 8. Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,T7,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, TResult result)
      1. 8.1. Generic Parameters
        1. 8.1.1. Parameter T1
        2. 8.1.2. Parameter T2
        3. 8.1.3. Parameter T3
        4. 8.1.4. Parameter T4
        5. 8.1.5. Parameter T5
        6. 8.1.6. Parameter T6
        7. 8.1.7. Parameter T7
        8. 8.1.8. Parameter TResult
      2. 8.2. Parameters
      3. 8.3. Returns
    9. 9. Invoke(Func<IEnumerator<IYield>> invocation)
      1. 9.1. Parameters
      2. 9.2. Returns
    Table of Contents
    1. 1. Invoke(CoroutineHandler<TResult> callee, TResult result)
      1. 1.1. Generic Parameters
        1. 1.1.1. Parameter TResult
      2. 1.2. Parameters
      3. 1.3. Returns
    2. 2. Invoke(CoroutineHandler<T1,TResult> callee, T1 arg1, TResult result)
      1. 2.1. Generic Parameters
        1. 2.1.1. Parameter T1
        2. 2.1.2. Parameter TResult
      2. 2.2. Parameters
      3. 2.3. Returns
    3. 3. Invoke(CoroutineHandler<T1,T2,TResult> callee, T1 arg1, T2 arg2, TResult result)
      1. 3.1. Generic Parameters
        1. 3.1.1. Parameter T1
        2. 3.1.2. Parameter T2
        3. 3.1.3. Parameter TResult
      2. 3.2. Parameters
      3. 3.3. Returns
    4. 4. Invoke(CoroutineHandler<T1,T2,T3,TResult> callee, T1 arg1, T2 arg2, T3 arg3, TResult result)
      1. 4.1. Generic Parameters
        1. 4.1.1. Parameter T1
        2. 4.1.2. Parameter T2
        3. 4.1.3. Parameter T3
        4. 4.1.4. Parameter TResult
      2. 4.2. Parameters
      3. 4.3. Returns
    5. 5. Invoke(CoroutineHandler<T1,T2,T3,T4,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, TResult result)
      1. 5.1. Generic Parameters
        1. 5.1.1. Parameter T1
        2. 5.1.2. Parameter T2
        3. 5.1.3. Parameter T3
        4. 5.1.4. Parameter T4
        5. 5.1.5. Parameter TResult
      2. 5.2. Parameters
      3. 5.3. Returns
    6. 6. Invoke(CoroutineHandler<T1,T2,T3,T4,T5,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, TResult result)
      1. 6.1. Generic Parameters
        1. 6.1.1. Parameter T1
        2. 6.1.2. Parameter T2
        3. 6.1.3. Parameter T3
        4. 6.1.4. Parameter T4
        5. 6.1.5. Parameter T5
        6. 6.1.6. Parameter TResult
      2. 6.2. Parameters
      3. 6.3. Returns
    7. 7. Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, TResult result)
      1. 7.1. Generic Parameters
        1. 7.1.1. Parameter T1
        2. 7.1.2. Parameter T2
        3. 7.1.3. Parameter T3
        4. 7.1.4. Parameter T4
        5. 7.1.5. Parameter T5
        6. 7.1.6. Parameter T6
        7. 7.1.7. Parameter TResult
      2. 7.2. Parameters
      3. 7.3. Returns
    8. 8. Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,T7,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, TResult result)
      1. 8.1. Generic Parameters
        1. 8.1.1. Parameter T1
        2. 8.1.2. Parameter T2
        3. 8.1.3. Parameter T3
        4. 8.1.4. Parameter T4
        5. 8.1.5. Parameter T5
        6. 8.1.6. Parameter T6
        7. 8.1.7. Parameter T7
        8. 8.1.8. Parameter TResult
      2. 8.2. Parameters
      3. 8.3. Returns
    9. 9. Invoke(Func<IEnumerator<IYield>> invocation)
      1. 9.1. Parameters
      2. 9.2. Returns

    Invoke(CoroutineHandler<TResult> callee, TResult result)

    public static TResult Invoke(CoroutineHandler<TResult> callee, TResult result);
    Invoke a no argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<TResult> Method to invoke as coroutine.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(CoroutineHandler<T1,TResult> callee, T1 arg1, TResult result)

    public static TResult Invoke(CoroutineHandler<T1,TResult> callee, T1 arg1, TResult result);
    Invoke a one argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter T1

    Type of the first argument.
    Constraints:
    none

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<T1,TResult> Method to invoke as coroutine.
    arg1 T1 First coroutine argument.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(CoroutineHandler<T1,T2,TResult> callee, T1 arg1, T2 arg2, TResult result)

    public static TResult Invoke(CoroutineHandler<T1,T2,TResult> callee, T1 arg1, T2 arg2, TResult result);
    Invoke a two argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter T1

    Type of the first argument.
    Constraints:
    none

    Parameter T2

    Type of the second argument.
    Constraints:
    none

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<T1,T2,TResult> Method to invoke as coroutine.
    arg1 T1 First coroutine argument.
    arg2 T2 Second coroutine argument.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(CoroutineHandler<T1,T2,T3,TResult> callee, T1 arg1, T2 arg2, T3 arg3, TResult result)

    public static TResult Invoke(CoroutineHandler<T1,T2,T3,TResult> callee, T1 arg1, T2 arg2, T3 arg3, TResult result);
    Invoke a three argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter T1

    Type of the first argument.
    Constraints:
    none

    Parameter T2

    Type of the second argument.
    Constraints:
    none

    Parameter T3

    Type of the third argument.
    Constraints:
    none

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<T1,T2,T3,TResult> Method to invoke as coroutine.
    arg1 T1 First coroutine argument.
    arg2 T2 Second coroutine argument.
    arg3 T3 Third coroutine argument.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(CoroutineHandler<T1,T2,T3,T4,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, TResult result)

    public static TResult Invoke(CoroutineHandler<T1,T2,T3,T4,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, TResult result);
    Invoke a four argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter T1

    Type of the first argument.
    Constraints:
    none

    Parameter T2

    Type of the second argument.
    Constraints:
    none

    Parameter T3

    Type of the third argument.
    Constraints:
    none

    Parameter T4

    Type of the fourth argument.
    Constraints:
    none

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<T1,T2,T3,T4,TResult> Method to invoke as coroutine.
    arg1 T1 First coroutine argument.
    arg2 T2 Second coroutine argument.
    arg3 T3 Third coroutine argument.
    arg4 T4 Fourth coroutine argument.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(CoroutineHandler<T1,T2,T3,T4,T5,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, TResult result)

    public static TResult Invoke(CoroutineHandler<T1,T2,T3,T4,T5,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, TResult result);
    Invoke a five argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter T1

    Type of the first argument.
    Constraints:
    none

    Parameter T2

    Type of the second argument.
    Constraints:
    none

    Parameter T3

    Type of the third argument.
    Constraints:
    none

    Parameter T4

    Type of the fourth argument.
    Constraints:
    none

    Parameter T5

    Type of the fifth argument.
    Constraints:
    none

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<T1,T2,T3,T4,T5,TResult> Method to invoke as coroutine.
    arg1 T1 First coroutine argument.
    arg2 T2 Second coroutine argument.
    arg3 T3 Third coroutine argument.
    arg4 T4 Fourth coroutine argument.
    arg5 T5 Fifth coroutine argument.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, TResult result)

    public static TResult Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, TResult result);
    Invoke a six argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter T1

    Type of the first argument.
    Constraints:
    none

    Parameter T2

    Type of the second argument.
    Constraints:
    none

    Parameter T3

    Type of the third argument.
    Constraints:
    none

    Parameter T4

    Type of the fourth argument.
    Constraints:
    none

    Parameter T5

    Type of the fifth argument.
    Constraints:
    none

    Parameter T6

    Type of the sixth argument.
    Constraints:
    none

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<T1,T2,T3,T4,T5,T6,TResult> Method to invoke as coroutine.
    arg1 T1 First coroutine argument.
    arg2 T2 Second coroutine argument.
    arg3 T3 Third coroutine argument.
    arg4 T4 Fourth coroutine argument.
    arg5 T5 Fifth coroutine argument.
    arg6 T6 Sixth coroutine argument.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,T7,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, TResult result)

    public static TResult Invoke(CoroutineHandler<T1,T2,T3,T4,T5,T6,T7,TResult> callee, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, TResult result);
    Invoke a seven argument Coroutine. Static shortcut for Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) member.

    Generic Parameters

    Parameter T1

    Type of the first argument.
    Constraints:
    none

    Parameter T2

    Type of the second argument.
    Constraints:
    none

    Parameter T3

    Type of the third argument.
    Constraints:
    none

    Parameter T4

    Type of the fourth argument.
    Constraints:
    none

    Parameter T5

    Type of the fifth argument.
    Constraints:
    none

    Parameter T6

    Type of the sixth argument.
    Constraints:
    none

    Parameter T7

    Type of the seventh argument.
    Constraints:
    none

    Parameter TResult

    Constraints:

    Parameters

    Name Type Description
    callee CoroutineHandler<T1,T2,T3,T4,T5,T6,T7,TResult> Method to invoke as coroutine.
    arg1 T1 First coroutine argument.
    arg2 T2 Second coroutine argument.
    arg3 T3 Third coroutine argument.
    arg4 T4 Fourth coroutine argument.
    arg5 T5 Fifth coroutine argument.
    arg6 T6 Sixth coroutine argument.
    arg7 T7 Seventh coroutine argument.
    result TResult The result instance to be returned by the call to Coroutine.Invoke(Func<IEnumerator<IYield>> invocation) that executes this coroutine.

    Returns

    Type: TResult
    Iterator used by MindTouch.Tasking.Coroutine.

    Invoke(Func<IEnumerator<IYield>> invocation)

    public void Invoke(Func<IEnumerator<IYield>> invocation);
    Invoke the coroutine.

    Parameters

    Name Type Description
    invocation Func<IEnumerator<IYield>>  

    Returns

    void
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by