Пример #1
0
 public static SpecificationList <TEntity> AndIsEmail <TEntity>(this SpecificationList <TEntity> specification, Func <TEntity, string> selector, bool condition, bool stopIfInvalid, string message, params object[] args)
 => specification.AndIsEmail(selector, c => condition, stopIfInvalid, message, args);
Пример #2
0
 public static SpecificationList <TEntity> AndIsEmail <TEntity>(this SpecificationList <TEntity> specification, Func <TEntity, string> selector)
 => specification.AndIsEmail(selector, c => true, false, "Invalid email", new object[] { });
Пример #3
0
 public static SpecificationList <TEntity> AndIsEmail <TEntity>(this SpecificationList <TEntity> specification, Func <TEntity, string> selector, string message, params object[] args)
 => specification.AndIsEmail(selector, c => true, false, message, args);