Esempio n. 1
0
 /// <summary>
 ///     Callback invoker for procedures that take 3 in params and 1 out param
 /// </summary>
 /// <returns>The passed mock - for fluent chaining</returns>
 public static ICallbackResult OutCallback <T1, T2, T3, TOut>(this ICallback mock, OutAction3_1 <T1, T2, T3, TOut> action)
 {
     return(OutCallbackInternal(mock, action));
 }
Esempio n. 2
0
 /// <summary>
 ///     Callback invoker for functions that take 3 in params and 1 out param
 /// </summary>
 /// <returns>The passed mock - for fluent chaining</returns>
 public static IReturnsThrows <TMock, TReturn> OutCallback <TMock, TReturn, T1, T2, T3, TOut>(this ICallback <TMock, TReturn> mock,
                                                                                              OutAction3_1 <T1, T2, T3, TOut> action)
     where TMock : class
 {
     return(OutCallbackInternal(mock, action));
 }