Example #1
0
 public void RemoveObserver(ICarObserver carObserver)
 {
     _cityObservators.Remove(carObserver);
 }
Example #2
0
 public void Detach(ICarObserver o)
 {
     observerList.Remove(o);
 }
Example #3
0
 public void AddObserver(ICarObserver carObserver)
 {
     _cityObservators.Add(carObserver);
 }
Example #4
0
 public void Attach(ICarObserver o)
 {
     observerList.Add(o);
 }