Esempio n. 1
0
 public static Ensurable <string> Matches(this Ensurable <string> ensurable, string regexPattern, string exceptionMessage = null)
 {
     return(ensurable.Matches(new Regex(regexPattern), exceptionMessage));
 }
Esempio n. 2
0
 public static Ensurable <string> Matches(this Ensurable <string> ensurable, string regexPattern, Func <Ensurable <string>, Exception> exceptionFactory)
 {
     return(ensurable.Matches(new Regex(regexPattern), exceptionFactory));
 }