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