Exemplo n.º 1
0
 public void Register(IMarketObservable observable)
 {
     observable.AddObserver(this);
     _myBroker = (SmartBroker)observable;
 }
 public void Register(IMarketObservable observable)
 {
     observable.AddObserver(this);
     _stockExchange = (SmartStockExchange)observable;
 }