Exemplo n.º 1
0
 public HomeTheaterFacade(Amplifier amp, Tuner tuner, DvdPlayer dvd, CdPlayer cd, Projector projector,
                          Screen screen, TheaterLights lights, PopcornPopper popper)
 {
     _amp       = amp;
     _tuner     = tuner;
     _dvd       = dvd;
     _cd        = cd;
     _projector = projector;
     _screen    = screen;
     _lights    = lights;
     _popper    = popper;
 }
Exemplo n.º 2
0
 public Amplifier(Tuner tuner = null, CdPlayer cdPlayer = null, DvdPlayer dvdPlayer = null)
 {
     Tuner     = tuner;
     CdPlayer  = cdPlayer;
     DvdPlayer = dvdPlayer;
 }