Пример #1
0
 public void Calling(Telephone dest)
 {
     if (observer != null)
     {
         observer.OutgoingCall(this, dest.number);
     }
     if (account >= CHARGE)
     {
         dest.ReceiveCall(this);
         account -= CHARGE;
     }
 }