public Bank(string name, IObservableSE observable) { Name = name; _stock = observable; _stock.RegisterObserver(this); }
public void StopTrade() { _stock.RemoveObserver(this); _stock = null; }