Пример #1
0
 public IdCardValidator(string column, string value,
                        IdCardTypes idCardType = IdCardTypes.All, string customMessageFormat = null)
     : base(column, value, customMessageFormat)
 {
     IdCardType = idCardType;
 }
Пример #2
0
 public Func <string, string, IdCardValidator> IdCard(IdCardTypes idTypes = IdCardTypes.All, string customMessageFormat = null)
 => (column, value) => new IdCardValidator(column, value, idTypes, customMessageFormat);