ConstraintFactory.DoesNotMatch(String) Method

Definition

Returns a constraint that fails if the actual value matches the pattern supplied as an argument.

public NUnit.Framework.Constraints.RegexConstraint DoesNotMatch (string pattern);
member this.DoesNotMatch : string -> NUnit.Framework.Constraints.RegexConstraint

Parameters

pattern
String

Returns

RegexConstraint

Applies to