/// <summary> /// 设置正则表达式配置驱动(不建议更换默认配置) /// </summary> /// <param name="regexConfigurations"></param> public static void SetRegexConfigurations(IRegexConfigurations regexConfigurations) { _regexConfigurations = regexConfigurations ?? throw new ArgumentNullException(nameof(regexConfigurations)); }
/// <summary> /// /// </summary> static ValidateCommon() { _regexConfigurations = new RegexConfigurationsValidateDefault(); }