Beispiel #1
0
        static void Main(string[] args)
        {
            Metronome m = new Metronome();
            Listener  l = new Listener();

            l.Subscribe(m);
            m.Start();
        }
Beispiel #2
0
 private void HeardItHereToo(Metronome m, EventArgs e)
 {
     Console.WriteLine("Heard it here too");
 }
Beispiel #3
0
 private void HeardIt(Metronome m, EventArgs e)
 {
     System.Console.WriteLine("HEARD IT ");
 }