Esempio n. 1
0
 public static Props Create(string hash, Buy bid)
 {
     return(Props.Create(() => new StockTrigger(hash, bid)));
 }
Esempio n. 2
0
 public StockTrigger(string hash, Buy bid)
 {
     this.hash   = hash;
     this.action = Context.ActorOf(BuyingSpreeAction.Create(bid));
     this.bid    = bid;
 }