Example #1
0
 /// <summary>
 ///     Callback invoker for procedures that take 2 in params and 1 out param
 /// </summary>
 /// <returns>The passed mock - for fluent chaining</returns>
 public static ICallbackResult OutCallback <T1, T2, TOut>(this ICallback mock, OutAction2_1 <T1, T2, TOut> action)
 {
     return(OutCallbackInternal(mock, action));
 }
Example #2
0
 /// <summary>
 ///     Callback invoker for functions that take 2 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, TOut>(this ICallback <TMock, TReturn> mock,
                                                                                          OutAction2_1 <T1, T2, TOut> action)
     where TMock : class
 {
     return(OutCallbackInternal(mock, action));
 }