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