Interface
IIgnorable<TContainer>

Arrangement filtering interface.

Definition

Namespace:Telerik.JustMock.Expectations.Abstraction

Assembly:Telerik.JustMock.dll

Type Parameters:

TContainer

Syntax:

cs-api-definition
public interface IIgnorable<TContainer> : IWhen<TContainer>

Inherited Members IWhen<TContainer>.When<T1>(Func<T1, bool>)IWhen<TContainer>.When<T1, T2>(Func<T1, T2, bool>)IWhen<TContainer>.When<T1, T2, T3>(Func<T1, T2, T3, bool>)IWhen<TContainer>.When<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, bool>)IWhen<TContainer>.When<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, bool>)

Methods

IgnoreArguments()

Specifies to ignore any argument for the target call.

Declaration

cs-api-definition
TContainer IgnoreArguments()

Returns

TContainer

Func or Action Container

When(Func<bool>)

Specifies an additional condition that must be true for this arrangement to be considered when the arranged member is called. This condition is evaluated in addition to the conditions imposed by any argument matchers in the arrangement.

This method allows a more general way of matching arrangements than argument matchers do.

Declaration

cs-api-definition
TContainer When(Func<bool> condition)

Parameters

condition

Func<bool>

A function that should return 'true' when this arrangement should be considered and 'false' if this arrangement doesn't match the user criteria.

Returns

TContainer

In this article
DefinitionMethodsIgnoreArguments()When(Func<bool>)
Not finding the help you need?
Contact Support