New to Telerik JustMockStart a free 30-day trial

Specifies instance scope for the expectation.

Definition

Namespace:Telerik.JustMock.Expectations.Abstraction

Assembly:Telerik.JustMock.dll

Type Parameters:

TContainer

Syntax:

C#
public interface IInstanceScope<TContainer>

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

Methods

Defines that the expectation should occur for all instance.

C#
TContainer IgnoreInstance()
Returns:

TContainer

In this article
DefinitionMethodsIgnoreInstance()
Not finding the help you need?
Contact Support