Beispiel #1
0
 public static SpecificationList <TEntity> AndRegexValid <TEntity>(this SpecificationList <TEntity> specification, Func <TEntity, string> selector, string expression, bool condition, bool stopIfInvalid, string message, params object[] args)
 => specification.AndRegexValid(selector, expression, c => condition, stopIfInvalid, message, args);
Beispiel #2
0
 public static SpecificationList <TEntity> AndRegexValid <TEntity>(this SpecificationList <TEntity> specification, Func <TEntity, string> selector, string expression, string message, params object[] args)
 => specification.AndRegexValid(selector, expression, c => true, false, message, args);
Beispiel #3
0
 public static SpecificationList <TEntity> AndIsUrl <TEntity>(this SpecificationList <TEntity> specification, Func <TEntity, string> selector, Func <TEntity, bool> condition, bool stopIfInvalid, string message, params object[] args)
 {
     return(specification.AndRegexValid(selector, LibraryRegex.URL, condition, stopIfInvalid, message, args));
 }