Beispiel #1
0
        public static void RunBridge()
        {
            ITelevision philipsTv        = new PhilipsTv();
            var         remoteController = new RemoteController();

            remoteController.SetTelevision(philipsTv);

            remoteController.On();
            remoteController.ChangeChannel(10);
            remoteController.GoNextChannel();
            remoteController.Off();
        }
Beispiel #2
0
    public static void RunBridge()
    {
      ITelevision philipsTv = new PhilipsTv();
      var remoteController = new RemoteController();
      remoteController.SetTelevision(philipsTv);

      remoteController.On();
      remoteController.ChangeChannel(10);
      remoteController.GoNextChannel();
      remoteController.Off();
    }