예제 #1
0
        private IClockSystem klok; //Zou weggelaten kunnen worden gezien deze nu enkel in de constructor gebruikt wordt

        public ClockDisplay(int id, IClockSystem klok)
        {
            this.id   = id;
            this.klok = klok;

            this.klok.RegisterObserver(this);
        }
예제 #2
0
 public ClockController(IClockSystem clockSystem)
 {
     this.clockSystem = clockSystem;
 }