Exemple #1
0
 public void Detach(AbstractObserver observer)
 {
     observers.Remove(observer);
 }
Exemple #2
0
 public void Attach(AbstractObserver observer)
 {
     observers.Add(observer);
 }
Exemple #3
0
 public void AddObserver(AbstractObserver observer)
 {
     observerList.Add(observer);
 }
Exemple #4
0
 public void RemoveObserver(AbstractObserver observer)
 {
     observerList.Remove(observer);
 }
 public void Remove(AbstractObserver observer)
 {
     abstractObservers.Remove(observer);
 }