public MediatorPattern()
        {
            var playerController = new PlayerController();
            var playerControllerButton1 = new PauseButton(playerController);
            var playerControllerButton2 = new StartButton(playerController);
            var playerControllerButton3 = new StopButton(playerController);

            playerControllerButton1.Click();
            playerControllerButton2.Click();
            playerControllerButton3.Click();
        }
 public PauseButton(PlayerController controller)
     : base(controller)
 {
     controller.Register(this);
 }
 protected PlayerControllerButton(PlayerController controller)
 {
     Controller = controller;
 }