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