Exemplo n.º 1
0
 private void CloseThis()
 {
     if (CloseIt?.Invoke(this) == true)
     {
         Content?.Close();
     }
 }
Exemplo n.º 2
0
 private async void CloseThis()
 {
     if (await CloseIt?.Invoke(this) == true)
     {
         Content?.Close();
     }
 }