public HotItem() : this(false) { BuyContext = new ItemContext(ContextType.Buy, this) { Rules = _buyRules, DisplayName = "Buy" }; SellContext = new ItemContext(ContextType.Sell, this) { Rules = _sellRules, DisplayName = "Sell" }; MarginContext = new ItemContext(ContextType.Margin, this) { Rules = _marginRules, DisplayName = "Margin" }; UnitPriceMoney = new Money(0, 0, 0); //SellMoney = new Money(); //BuyMoney = new Money(); }
public HotItem() : this(false) { BuyContext = new ItemContext(false, this); BuyContext.Rules = BuyRules; BuyContext.DisplayName = "Buy"; SellContext = new ItemContext(true, this); SellContext.Rules = SellRules; SellContext.DisplayName = "Sell"; UnitPriceMoney = new Money(0, 0, 0); //SellMoney = new Money(); //BuyMoney = new Money(); }