protected virtual NUnitCtr.Constraint BuildInternalConstraint() { NUnitCtr.Constraint ctr = null; if (!string.IsNullOrEmpty(regex)) { if (ctr != null) { ctr = ctr.And.Matches(regex); } else { ctr = new NUnitCtr.RegexConstraint(regex); } } return(ctr); }
protected override NUnitCtr.Constraint BuildInternalConstraint() { NUnitCtr.Constraint ctr = null; if (!string.IsNullOrEmpty(regex)) { if (ctr != null) ctr = ctr.And.Matches(regex); else ctr = new NUnitCtr.RegexConstraint(regex); } return ctr; }