示例#1
0
 public void Detach(Observer observer)
 {
     _observers.Remove(observer);
 }
示例#2
0
 public void Attach(Observer observer)
 {
     _observers.Add(observer);
 }