ThrowsNothingConstraint.Matches Method

Definition

Overloads

Matches(Object)

Test whether the constraint is satisfied by a given value

Matches<T>(ActualValueDelegate<T>)

Matches(Object)

Test whether the constraint is satisfied by a given value

public override bool Matches (object actual);
override this.Matches : obj -> bool

Parameters

actual
Object

The value to be tested

Returns

True if no exception is thrown, otherwise false

Applies to

Matches<T>(ActualValueDelegate<T>)

public override bool Matches<T> (NUnit.Framework.Constraints.ActualValueDelegate<T> del);
override this.Matches : NUnit.Framework.Constraints.ActualValueDelegate<'T> -> bool

Type Parameters

T

Parameters

Returns

Applies to