예제 #1
0
        public static StringValidatorConfigurator EndsWith(this ValidatorConfigurator <string> configurator, string value)
        {
            var stringValidatorConfigurator = new EndsWithStringValidatorConfigurator(configurator, value);

            configurator.AddConfigurator(stringValidatorConfigurator);

            return(stringValidatorConfigurator);
        }
        public static StringValidatorConfigurator EndsWith(this ValidatorConfigurator<string> configurator, string value)
        {
            var stringValidatorConfigurator = new EndsWithStringValidatorConfigurator(configurator, value);

            configurator.AddConfigurator(stringValidatorConfigurator);

            return stringValidatorConfigurator;
        }