Esempio n. 1
0
 public static void Run <T1, T2>(this Action <T1, T2> action, T1 arg1, T2 arg2, int timeout, int maxNoOfRetry, int sleepBetweenRetry)
 {
     using (ChoActionWaitFor <T1, T2> waitFor = new ChoActionWaitFor <T1, T2>(action))
         waitFor.Run(arg1, arg2, timeout, maxNoOfRetry, sleepBetweenRetry);
 }
Esempio n. 2
0
 public static void Run(this Action action, int timeout, int maxNoOfRetry, int sleepBetweenRetry)
 {
     using (ChoActionWaitFor waitFor = new ChoActionWaitFor(action))
         waitFor.Run(timeout, maxNoOfRetry, sleepBetweenRetry);
 }
Esempio n. 3
0
 public static void Run <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this Action <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> action, 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, int timeout, int maxNoOfRetry, int sleepBetweenRetry)
 {
     using (ChoActionWaitFor <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> waitFor = new ChoActionWaitFor <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(action))
         waitFor.Run(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, timeout, maxNoOfRetry, sleepBetweenRetry);
 }
Esempio n. 4
0
 public static void Run <T1, T2, T3, T4, T5, T6, T7, T8>(this Action <T1, T2, T3, T4, T5, T6, T7, T8> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, int timeout, int maxNoOfRetry, int sleepBetweenRetry)
 {
     using (ChoActionWaitFor <T1, T2, T3, T4, T5, T6, T7, T8> waitFor = new ChoActionWaitFor <T1, T2, T3, T4, T5, T6, T7, T8>(action))
         waitFor.Run(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, timeout, maxNoOfRetry, sleepBetweenRetry);
 }