Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public HomeTheatreFacade(Projector projector, BluRayPlayer bluRayPlayer)
 {
     this.projector    = projector;
     this.bluRayPlayer = bluRayPlayer;
 }