Class
Args

Specifies Mock.Assert to ignore any specific arguments.

Definition

Namespace:Telerik.JustMock

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public sealed class Args

Inheritance: objectArgs

Constructors

Args()

Declaration

cs-api-definition
public Args()

Properties

Filter

Gets or sets a customized filter on the invocation arguments.

Declaration

cs-api-definition
public Delegate Filter { get; set; }

Property Value

Delegate

Remarks

If a filter is specified it has to have the same signature as the asserted method, and may optionally have a first argument of the same type as the one declaring the method to receive the 'this' argument on which the method was called.

IsIgnored

Gets or sets value indicating whether to ignore arguments.

Declaration

cs-api-definition
public bool? IsIgnored { get; set; }

Property Value

bool?

Remarks

Unless explicitly specified, the arguments will be ignored by default if there is a filter present.

IsInstanceIgnored

Gets or sets value indicating whether to ignore instance.

Declaration

cs-api-definition
public bool? IsInstanceIgnored { get; set; }

Property Value

bool?

Remarks

Unless explicitly specified, the instance will be ignored by default if there is a filter present and it takes as a first argument a 'this' argument.

Methods

AndIgnoreArguments()

Marks that Mock.Assert should ignore any argument match.

Declaration

cs-api-definition
public Args AndIgnoreArguments()

Returns

Args

Returns Args configuration.

AndIgnoreInstance()

Marks that Mock.Assert should ignore the instance match.

Declaration

cs-api-definition
public Args AndIgnoreInstance()

Returns

Args

Returns Args configuration.

AndMatching(Delegate)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching(Delegate predicate)

Parameters

predicate

Delegate

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<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> predicate)

Parameters

predicate

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

Returns

Args

AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, bool> predicate)

Parameters

predicate

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

Returns

Args

AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool> predicate)

Parameters

predicate

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

Returns

Args

AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, bool> predicate)

Parameters

predicate

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

Returns

Args

AndMatching<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, T6, T7, T8, bool>

Returns

Args

AndMatching<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, T6, T7, bool>

Returns

Args

AndMatching<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, T6, bool>

Returns

Args

AndMatching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, bool>

Returns

Args

AndMatching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, bool>

Returns

Args

AndMatching<T1, T2, T3>(Func<T1, T2, T3, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2, T3>(Func<T1, T2, T3, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, bool>

Returns

Args

AndMatching<T1, T2>(Func<T1, T2, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1, T2>(Func<T1, T2, bool> predicate)

Parameters

predicate

Func<T1, T2, bool>

Returns

Args

AndMatching<T1>(Func<T1, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public Args AndMatching<T1>(Func<T1, bool> predicate)

Parameters

predicate

Func<T1, bool>

Returns

Args

Ignore()

Marks that Mock.Assert should ignore any argument match.

Declaration

cs-api-definition
public static Args Ignore()

Returns

Args

Returns Args configuration.

IgnoreInstance()

Marks that Mock.Assert should ignore the instance match.

Declaration

cs-api-definition
public static Args IgnoreInstance()

Returns

Args

Returns Args configuration.

Matching(Delegate)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching(Delegate predicate)

Parameters

predicate

Delegate

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<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> predicate)

Parameters

predicate

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

Returns

Args

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

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<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> predicate)

Parameters

predicate

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

Returns

Args

Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, bool> predicate)

Parameters

predicate

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

Returns

Args

Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool> predicate)

Parameters

predicate

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

Returns

Args

Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, bool> predicate)

Parameters

predicate

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

Returns

Args

Matching<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, T6, T7, T8, bool>

Returns

Args

Matching<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, T6, T7, bool>

Returns

Args

Matching<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, T6, bool>

Returns

Args

Matching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, T5, bool>

Returns

Args

Matching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, T4, bool>

Returns

Args

Matching<T1, T2, T3>(Func<T1, T2, T3, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2, T3>(Func<T1, T2, T3, bool> predicate)

Parameters

predicate

Func<T1, T2, T3, bool>

Returns

Args

Matching<T1, T2>(Func<T1, T2, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1, T2>(Func<T1, T2, bool> predicate)

Parameters

predicate

Func<T1, T2, bool>

Returns

Args

Matching<T1>(Func<T1, bool>)

Specifies a condition on the invocation arguments. See for usage details.

Declaration

cs-api-definition
public static Args Matching<T1>(Func<T1, bool> predicate)

Parameters

predicate

Func<T1, bool>

Returns

Args

In this article
DefinitionConstructorsArgs()PropertiesFilterIsIgnoredIsInstanceIgnoredMethodsAndIgnoreArguments()AndIgnoreInstance()AndMatching(Delegate)AndMatching<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>)AndMatching<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>)AndMatching<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>)AndMatching<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>)AndMatching<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>)AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, bool>)AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool>)AndMatching<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>)AndMatching<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, bool>)AndMatching<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, bool>)AndMatching<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, bool>)AndMatching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool>)AndMatching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool>)AndMatching<T1, T2, T3>(Func<T1, T2, T3, bool>)AndMatching<T1, T2>(Func<T1, T2, bool>)AndMatching<T1>(Func<T1, bool>)Ignore()IgnoreInstance()Matching(Delegate)Matching<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>)Matching<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>)Matching<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>)Matching<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>)Matching<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>)Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, bool>)Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool>)Matching<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, bool>)Matching<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, bool>)Matching<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, bool>)Matching<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, bool>)Matching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool>)Matching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool>)Matching<T1, T2, T3>(Func<T1, T2, T3, bool>)Matching<T1, T2>(Func<T1, T2, bool>)Matching<T1>(Func<T1, bool>)
Not finding the help you need?
Contact Support