IDoInstead<TContainer>
Provides methods for running custom delegates instead of the arranged member body.
Definition
Namespace:Telerik.JustMock.Expectations.Abstraction
Assembly:Telerik.JustMock.dll
Type Parameters:
TContainer
Syntax:
public interface IDoInstead<TContainer>
Derived Classes:
Methods
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead(Action action)
Delegate to run when the arranged call occurs.
Returns:TContainer
The current expectation so that you can continue the arrangement.
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead(Delegate @delegate)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3, T4>(Action<T1, T2, T3, T4> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2, T3>(Action<T1, T2, T3> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1, T2>(Action<T1, T2> action)
Delegate to run when the arranged call occurs.
Returns:TContainer
Runs the supplied delegate instead of the arranged member body.
TContainer DoInstead<T1>(Action<T1> action)
Delegate to run when the arranged call occurs.
Returns:TContainer