Exemplo n.º 1
0
 /// <summary>
 /// Verify that <paramref name="value"/> is null or not matches the regular expression <paramref name="regularExpression"/>.
 /// </summary>
 public static void MatchesNotRegExp(string regularExpression, string value, string errorLocation, string customMessage = null)
 {
     RequireNotNullOrWhitespace(regularExpression, nameof(regularExpression));
     RequireNotNull(errorLocation, nameof(errorLocation));
     GenericContract <FulcrumContractException> .RequireMatchesNotRegExp(regularExpression, value, errorLocation, customMessage);
 }