public bool IsValid() { return(_emailServices.IsValid(Email) && _cpfServices.IsValid(CPF)); }
public bool IsValid() { // Estou dependendo de implementação aqui return(_emailServices.IsValid(Email) && _cpfServices.IsValid(CPF)); }
//depends on implementation: low coupling //no problem with fere SRP: if I change EmailServices, it's transparent for me public bool IsValid() => _emailServices.IsValid(Email);
public bool IsValid() { return(_emailServices.IsValid(Email) && _ssnServices.IsValid(Ssn)); }
public bool IsValid() { return(_emailServices.IsValid(Email)); }