示例#1
0
 public bool PhoneCountryInput(string phoneCountry)
 {
     if (_validation.CheckPhoneCountry(phoneCountry))
     {
         Presenter?.SetPhoneCountryState(EState.Success);
         return(true);
     }
     Presenter?.SetPhoneCountryState(EState.Fail);
     return(false);
 }
示例#2
0
 public void TestPhoneCountry(string phoneCountry, bool isValid)
 {
     Assert.AreEqual(isValid, _validation.CheckPhoneCountry(phoneCountry));
 }