예제 #1
0
 public override void Delete(Depositor despositor)
 {
     observers.Remove(despositor);
 }
예제 #2
0
        public abstract void Add(Depositor despositor);    //增加客户

        public abstract void Delete(Depositor despositor); //删除客户
예제 #3
0
 public override void Add(Depositor despositor)
 {
     //新增删除都需要判断是否存在客户
     //这边简化一些
     observers.Add(despositor);
 }
예제 #4
0
 public abstract void Add(Depositor despositor);    //增加客户