Пример #1
0
 public void Unregister(AbstractObserver observer)
 {
     observers.Remove(observer);
 }
Пример #2
0
 public void Register(AbstractObserver observer)
 {
     observers.Add(observer);
 }