private void _observableThing_OnSomethingAmazingJustHappened(object sender, SomethingAmazingEventArgs e)
 {
     Console.WriteLine($"I don't care about Unicorns, but I noticed that something amazing happened and there was a bubble factor of: {e.BubbleFactor}!");
 }
Beispiel #2
0
 private void ObservableThing_OnSomethingAmazingJustHappened(object sender, SomethingAmazingEventArgs e)
 {
     Console.WriteLine($"I don't care about Bubbles, but I noticed that something amazing happened and there were {e.NumberOfUnicornsDancing} unicorns dancing!");
 }