public static void MatchesNotRegExp(string regularExpression, string value, string parameterName, string customMessage = null) { RequireNotNullOrWhiteSpace(regularExpression, nameof(regularExpression)); GenericContract <FulcrumContractException> .RequireMatchesNotRegExp(regularExpression, value, parameterName, customMessage); }
public static void RequireMatchesNotRegExp(string regularExpression, string value, string errorLocation, string customMessage = null) { RequireNotNullOrWhiteSpace(regularExpression, nameof(regularExpression)); GenericContract <FulcrumServiceContractException> .RequireMatchesNotRegExp(regularExpression, value, errorLocation, customMessage); }