private void OnAccept()
 {
     if (_monsters.Any())
     {
         if (_dialogService.ShowConfirmationDialog("Replace Monsters", "Replace all monsters in the encounter with the randomly generated monsters?", "Yes", "No", null) == true)
         {
             AcceptSelected?.Invoke(this, EventArgs.Empty);
         }
     }
     else
     {
         RejectSelected?.Invoke(this, EventArgs.Empty);
     }
 }
Ejemplo n.º 2
0
 private void Reject()
 {
     RejectSelected?.Invoke(this, EventArgs.Empty);
 }
Ejemplo n.º 3
0
 protected virtual void OnReject()
 {
     RejectSelected?.Invoke(this, EventArgs.Empty);
 }