Inheritance: IObserver
Exemple #1
0
 public void Detach(Observer observer)
 {
     _observers.Remove(observer);
 }
Exemple #2
0
 public void Attach(Observer observer)
 {
     _observers.Add(observer);
 }