public void Setup() { tradeSet = new GenericObservableHashSet <Trade>(new IdentifiedEqualityComparer()); tradeSet.OnItemAdded += Update_LastTradeId; }
public TradingDataContext() { this.Trades = new GenericObservableHashSet <Trade>(new IdentifiedEqualityComparer()); this.Bars = new GenericObservableList <Bar>(); this.Orders = new GenericObservableHashSet <Order>(new IdentifiedEqualityComparer()); }