Exemplo n.º 1
0
 public static void FamilyRecursiveDeletionNotAllowed(string?family, int childCount)
 {
     DependencyService.Get <IToast>()?.MakeToast(StandardMessagesText.FamilyRecursiveDeletionNotAllowedBody(family, childCount));
 }
Exemplo n.º 2
0
 public static void ChildRecursiveDeletionNotAllowed(string?child, int vaccineCount)
 {
     DependencyService.Get <IToast>()?.MakeToast(StandardMessagesText.ChildRecursiveDeletionNotAllowedBody(child, vaccineCount));
 }
Exemplo n.º 3
0
 // Validators
 public static void FamilyDuplicateValidator(int input)
 {
     DependencyService.Get <IToast>()?.MakeToast(StandardMessagesText.FamilyDuplicateValidatorBody(input));
 }
Exemplo n.º 4
0
 public async static Task <bool> DeleteDisplayMessage(string?input)
 {
     return(await App.Current.MainPage.DisplayAlert(null, StandardMessagesText.DeleteBody(input), "Yes", "No"));
 }
Exemplo n.º 5
0
 public static void EditDisplaymessage(string?input)
 {
     DependencyService.Get <IToast>()?.MakeToast(StandardMessagesText.EditBody(input));
 }
Exemplo n.º 6
0
 public async static void ValidationRulesViolation(string?title, string?body)
 {
     await App.Current.MainPage.DisplayAlert(StandardMessagesText.ValidationRulesViolationTitle(title), StandardMessagesText.ValidationRulesViolationBody(body), "OK");
 }