Exemplo n.º 1
0
 public HomeTheaterFacade(Amplifier amp,
                          Tuner tuner,
                          DVDPlayer dvd,
                          CDPlayer cd,
                          Projector projector,
                          TheaterLights lights,
                          Screen screen,
                          PopcornPopper popper)
 {
     Amp       = amp;
     Tuner     = tuner;
     Dvd       = dvd;
     Cd        = cd;
     Projector = projector;
     Lights    = lights;
     Screen    = screen;
     Popper    = popper;
 }
Exemplo n.º 2
0
 public Projector(DVDPlayer player)
 {
     dvdPlayer = player;
 }