static void Main(string[] args) { Projector projector = new Projector(); BluRayPlayer bluRayPlayer = new BluRayPlayer(); HomeTheatreFacade homeTheatre = new HomeTheatreFacade(projector, bluRayPlayer); homeTheatre.PlayMovie(); homeTheatre.StopMovie(); Console.ReadLine(); }
public HomeTheatreFacade(Projector projector, BluRayPlayer bluRayPlayer) { this.projector = projector; this.bluRayPlayer = bluRayPlayer; }