Exemplo n.º 1
0
 public Microwave(Drive drive, Power power, Notification notification)
 {
     _drive        = drive;
     _power        = power;
     _notification = notification;
 }
Exemplo n.º 2
0
        static void drive_driveevent(object sender, EventArgs e)
        {
            Drive d = (Drive)sender;

            Console.WriteLine(d.ToString());
        }