Example #1
0
 public Broker(string name, StockMarket stockMarket) : base(name, stockMarket)
 {
 }
Example #2
0
 public Bank(string name, StockMarket stockMarket) : base(name, stockMarket)
 {
 }
Example #3
0
 protected TradeSubject(string name, StockMarket stockMarket)
 {
     Name                = name;
     _stockMarket        = stockMarket;
     stockMarket.Notify += Update;
 }