public void Register(IMarketObservable observable) { observable.AddObserver(this); _myBroker = (SmartBroker)observable; }
public void Register(IMarketObservable observable) { observable.AddObserver(this); _stockExchange = (SmartStockExchange)observable; }