public override void PlayIsStatedEventHandler(object sender, PlayIsStartedEventArgs e)
 {
     Console.WriteLine($"Hornist {Name}  plays composition {e.Number}");
 }
 public override void PlayIsStartedEventArgs(object sender, PlayIsStartedEventArgs e)
 {
     Console.WriteLine($"Hornist {Name} plays composition {e.SoundNumber}: Du-du-du!");
 }
 public abstract void PlayIsStatedEventHandler(object sender, PlayIsStartedEventArgs e);
Ejemplo n.º 4
0
 public override void PlayIsStartedEventHandler(object sender,
                                                PlayIsStartedEventArgs playIsStartedEventArgs)
 {
     Console.WriteLine($"Violinist {Name} plays {playIsStartedEventArgs.SoundNumber}: La-la!");
 }