Exemplo n.º 1
0
 static bool HashServiceVerify(EmailAddress email)
 {
     return(((string)email)?.EndsWith(".com.au") ?? false);
 }
Exemplo n.º 2
0
 private VerifiedEmailAddress(EmailAddress email)
 {
     _value = email;
 }
Exemplo n.º 3
0
 public static Result <VerifiedEmailAddress> Create(EmailAddress email)
 {
     return(!HashServiceVerify(email) ? EmailErr.EmailNotVerifiable : Result.Ok(new VerifiedEmailAddress(email)));