public PlatformCrashes()
 {
     MSCrashes.SetUserConfirmationHandler((arg0) =>
     {
         if (ShouldAwaitUserConfirmation != null)
         {
             return(ShouldAwaitUserConfirmation());
         }
         return(false);
     });
     crashesDelegate = new CrashesDelegate(this);
     MSCrashes.SetDelegate(crashesDelegate);
 }
Exemplo n.º 2
0
 public PlatformCrashes()
 {
     MSCrashes.NotifyPermanentlyDisableMachExceptionHandling();
     MSCrashes.SetUserConfirmationHandler((arg0) =>
     {
         if (ShouldAwaitUserConfirmation != null)
         {
             return(ShouldAwaitUserConfirmation());
         }
         return(false);
     });
     crashesDelegate = new CrashesDelegate(this);
     MSCrashes.SetDelegate(crashesDelegate);
 }