Interface
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:

cs-api-definition
public interface IDoInstead<TContainer>

Derived Classes: ActionExpectationCollectionExpectation<TReturn>CommonExpectation<TContainer>FuncExpectation<TReturn>

Methods

DoInstead(Action)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead(Action action)

Parameters

action

Action

Delegate to run when the arranged call occurs.

Returns

TContainer

The current expectation so that you can continue the arrangement.

DoInstead(Delegate)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead(Delegate @delegate)

Parameters

delegate

Delegate

Delegate to run when the arranged call occurs.

Returns

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>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
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)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>

Delegate to run when the arranged call occurs.

Returns

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>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
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)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>

Delegate to run when the arranged call occurs.

Returns

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>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
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)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>

Delegate to run when the arranged call occurs.

Returns

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>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
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)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>

Delegate to run when the arranged call occurs.

Returns

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>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
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)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

Delegate to run when the arranged call occurs.

Returns

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>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
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)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> action)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8> action)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7, T8>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7> action)

Parameters

action

Action<T1, T2, T3, T4, T5, T6, T7>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6> action)

Parameters

action

Action<T1, T2, T3, T4, T5, T6>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5> action)

Parameters

action

Action<T1, T2, T3, T4, T5>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3, T4>(Action<T1, T2, T3, T4>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3, T4>(Action<T1, T2, T3, T4> action)

Parameters

action

Action<T1, T2, T3, T4>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2, T3>(Action<T1, T2, T3>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2, T3>(Action<T1, T2, T3> action)

Parameters

action

Action<T1, T2, T3>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1, T2>(Action<T1, T2>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1, T2>(Action<T1, T2> action)

Parameters

action

Action<T1, T2>

Delegate to run when the arranged call occurs.

Returns

TContainer

DoInstead<T1>(Action<T1>)

Runs the supplied delegate instead of the arranged member body.

Declaration

cs-api-definition
TContainer DoInstead<T1>(Action<T1> action)

Parameters

action

Action<T1>

Delegate to run when the arranged call occurs.

Returns

TContainer

In this article
DefinitionMethodsDoInstead(Action)DoInstead(Delegate)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>)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>)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>)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>)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>)DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)DoInstead<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>)DoInstead<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8>)DoInstead<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7>)DoInstead<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6>)DoInstead<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5>)DoInstead<T1, T2, T3, T4>(Action<T1, T2, T3, T4>)DoInstead<T1, T2, T3>(Action<T1, T2, T3>)DoInstead<T1, T2>(Action<T1, T2>)DoInstead<T1>(Action<T1>)
Not finding the help you need?
Contact Support