コード例 #1
0
 /// <summary>
 ///     Callback invoker for procedures that take 1 in param and 3 out params
 /// </summary>
 /// <returns>The passed mock - for fluent chaining</returns>
 public static ICallbackResult OutCallback <T1, TOut1, TOut2, TOut3>(this ICallback mock, OutAction1_3 <T1, TOut1, TOut2, TOut3> action)
 {
     return(OutCallbackInternal(mock, action));
 }
コード例 #2
0
 /// <summary>
 ///     Callback invoker for functions that take 1 in param and 3 out params
 /// </summary>
 /// <returns>The passed mock - for fluent chaining</returns>
 public static IReturnsThrows <TMock, TReturn> OutCallback <TMock, TReturn, T1, TOut1, TOut2, TOut3>(this ICallback <TMock, TReturn> mock,
                                                                                                     OutAction1_3 <T1, TOut1, TOut2, TOut3>
                                                                                                     action)
     where TMock : class
 {
     return(OutCallbackInternal(mock, action));
 }