Beispiel #1
0
        public async Task DeleteAsync()
        {
            await Task.Run(() => _inner.Delete());

            PlanetDeleted?.Invoke(this, EventArgs.Empty);
        }
Beispiel #2
0
 public void Delete()
 {
     _inner.Delete();
     PlanetDeleted?.Invoke(this, EventArgs.Empty);
 }