public bool IsSatisfied(string email)
 {
     return(_condition.IsSatisfied(email) ? _then.IsSatisfied(email) : _else.IsSatisfied(email));
 }
 public virtual bool IsSatisfied(string email)
 {
     return(IsValid(email) && Next.IsSatisfied(email));
 }
예제 #3
0
 public bool IsValid(string email)
 {
     return(_rule.IsSatisfied(email));
 }