ClassArgs
Specifies Mock.Assert to ignore any specific arguments.
Definition
Namespace:Telerik.JustMock
Assembly:Telerik.JustMock.dll
Syntax:
public sealed class Args
Inheritance: objectArgs
Constructors
Args()
Declaration
public Args()
Properties
Filter
Gets or sets a customized filter on the invocation arguments.
Declaration
public Delegate Filter { get; set; }
Property Value
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
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
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
public Args AndIgnoreArguments()
Returns
Returns Args configuration.
AndIgnoreInstance()
Marks that Mock.Assert should ignore the instance match.
Declaration
public Args AndIgnoreInstance()
Returns
Returns Args configuration.
AndMatching(Delegate)
Specifies a condition on the invocation arguments. See for usage details.
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
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
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
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
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
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
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.
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.
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.
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.
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.
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.
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.
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.
AndMatching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool>)
Specifies a condition on the invocation arguments. See for usage details.
AndMatching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool>)
Specifies a condition on the invocation arguments. See for usage details.
AndMatching<T1, T2, T3>(Func<T1, T2, T3, bool>)
Specifies a condition on the invocation arguments. See for usage details.
AndMatching<T1, T2>(Func<T1, T2, bool>)
Specifies a condition on the invocation arguments. See for usage details.
AndMatching<T1>(Func<T1, bool>)
Specifies a condition on the invocation arguments. See for usage details.
Ignore()
Marks that Mock.Assert should ignore any argument match.
IgnoreInstance()
Marks that Mock.Assert should ignore the instance match.
Declaration
public static Args IgnoreInstance()
Returns
Returns Args configuration.
Matching(Delegate)
Specifies a condition on the invocation arguments. See for usage details.
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
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
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
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
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
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
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.
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.
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.
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.
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.
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.
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.
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.
Matching<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, bool>)
Specifies a condition on the invocation arguments. See for usage details.
Matching<T1, T2, T3, T4>(Func<T1, T2, T3, T4, bool>)
Specifies a condition on the invocation arguments. See for usage details.
Matching<T1, T2, T3>(Func<T1, T2, T3, bool>)
Specifies a condition on the invocation arguments. See for usage details.
Matching<T1, T2>(Func<T1, T2, bool>)
Specifies a condition on the invocation arguments. See for usage details.
Matching<T1>(Func<T1, bool>)
Specifies a condition on the invocation arguments. See for usage details.