Пример #1
0
 public bool CheckEntryLength(string entryText, int length)
 {
     if (DataVerificationService.CheckEntryLength(entryText, length))
     {
         return(true);
     }
     _pageService.DisplayAlert("Invalid length!", $"Length should be less or equal than { length } symbols", "OK");
     return(false);
 }
Пример #2
0
 public bool NullOrEmptyEntryText(params string[] infoStrings)
 {
     if (DataVerificationService.NullOrEmptyEntryText(infoStrings))
     {
         return(true);
     }
     _pageService.DisplayAlert("Missing information!", "Pleasy, ensure that you give all necessary information" +
                               "(username, password, email, country, age)", "OK");
     return(false);
 }