Beispiel #1
0
        public IdentifierValidator(bool combined)
        {
            IRuleBuilderOptions <string, string> builder = RuleFor(x => x).NotEmpty().LowerCase().FirstCharIsLetter();

            if (combined)
            {
                builder.HasColon();
            }
        }