/// <summary> /// Set all modifiers applied to the prefix into the base constraint /// before matching /// </summary> protected void PassModifiersToBase() { if (CaseInsensitive) { _baseConstraint = _baseConstraint.IgnoreCase; } if (Tolerance != null) { _baseConstraint = _baseConstraint.Within(Tolerance); } if (CompareAsCollection) { _baseConstraint = _baseConstraint.AsCollection; } if (CompareWith != null) { _baseConstraint = _baseConstraint.Comparer(CompareWith); } }