Exemplo n.º 1
0
 public void ShowConfirmation()
 {
     windowManager.Confirm(
         "This is the title",
         "What should be confirmed, text...",
         () => windowManager.Alert("result", "is: confirmed"),
         () => windowManager.Alert("result", "is: cancelled"));
 }
 private void MigrateEsentToDatabaseCallback(EsentPersistentDictionary cacheStore, Action <SanityCheckResult> callback, SanityCheckResult result)
 {
     if (cacheStore != null && _windowManager.Confirm(Resx.Delete, Resx.DeleteEsentConfirmationMessage))
     {
         DeleteEsent(cacheStore);
     }
     callback.Invoke(result);
 }