public static MessageBoxResult Show(this IMessageBoxService service, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult) {
     VerifyService(service);
     return service.Show(messageBoxText, caption, button.ToMessageButton(), icon.ToMessageIcon(), defaultResult.ToMessageResult()).ToMessageBoxResult();
 }
 public static MessageBoxResult Show(this IMessageBoxService service, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult)
 {
     VerifyService(service);
     return(service.Show(messageBoxText, caption, button.ToMessageButton(), icon.ToMessageIcon(), defaultResult.ToMessageResult()).ToMessageBoxResult());
 }
 public string Localize(MessageBoxResult button) {
     return localizer.Localize(button.ToMessageResult());
 }
Beispiel #4
0
 public string Localize(MessageBoxResult button)
 {
     return(localizer.Localize(button.ToMessageResult()));
 }