public override void Delete(Depositor depositor) { if (observers.Contains(depositor)) { observers.Remove(depositor); } }
public abstract void Delete(Depositor depositor);
public override void Add(Depositor depositor) { observers.Add(depositor); }
/// <summary> /// 增加 /// </summary> /// <param name="depositor"></param> public abstract void Add(Depositor depositor);