/// <summary> /// Callback invoker for procedures that take 2 in params and 2 out params /// </summary> /// <returns>The passed mock - for fluent chaining</returns> public static ICallbackResult OutCallback <T1, T2, TOut1, TOut2>(this ICallback mock, OutAction2_2 <T1, T2, TOut1, TOut2> action) { return(OutCallbackInternal(mock, action)); }
/// <summary> /// Callback invoker for functions that take 2 in params and 2 out params /// </summary> /// <returns>The passed mock - for fluent chaining</returns> public static IReturnsThrows <TMock, TReturn> OutCallback <TMock, TReturn, T1, T2, TOut1, TOut2>(this ICallback <TMock, TReturn> mock, OutAction2_2 <T1, T2, TOut1, TOut2> action) where TMock : class { return(OutCallbackInternal(mock, action)); }