Example #1
0
 public void EmailVacant(EmailVacantEvent e, Node node, [JoinAll] EmailInputFieldNode emailInputField)
 {
     if (string.Equals(e.Email, emailInputField.Input, StringComparison.InvariantCultureIgnoreCase))
     {
         if (emailInputField.marker.ExistsIsValid)
         {
             emailInputField.ToInvalidState(emailInputField.marker.EmailIsNotConfirmed);
         }
         else
         {
             emailInputField.ToValidState();
         }
     }
 }