public HomeTheatreFacade(
     Amplifier amplifier,
     CdPlayer cdPlayer,
     DvdPlayer dvdPlayer,
     Tunner tunner)
 {
     _amplifier = amplifier;
     _tunner = tunner;
     _dvdPlayer = dvdPlayer;
     _cdPlayer = cdPlayer;
 }
Пример #2
0
 public Amplifier(Tunner tunner, DvdPlayer dvdPlayer, CdPlayer cdPlayer)
 {
     _tunner = tunner;
     _dvdPlayer = dvdPlayer;
     _cdPlayer = cdPlayer;
 }