/// <summary> /// 移除观察者 /// </summary> /// <param name="observe"></param> public void Detach(Observe observe) { observes.Remove(observe); }
/// <summary> /// 增加观察者 /// </summary> /// <param name="observe"></param> public void Attach(Observe observe) { observes.Add(observe); }