public HomeViewModel(IEventAggregator events, IOrderFieldsCache fieldsCache, IOrderCache orderCache, IWatchlistCache watchlistCache) { fieldsCache.InitializationCompleted += FieldsCache_InitializationCompleted; _fieldsCache = fieldsCache; orderCache.InitializationCompleted += OrderCache_InitializationCompleted; _orderCache = orderCache; watchlistCache.InitializationCompleted += WatchlistCache_InitializationCompleted; _watchlistCache = watchlistCache; _events = events; }
public OrderTicketViewModel(IOrderEndpoint orderEndpoint, IOrderFieldsCache fieldsCache) { _orderEndpoint = orderEndpoint; _fieldsCache = fieldsCache; }
public TradeBlotterViewModel(IOrderCache orderCache, IOrderFieldsCache fieldsCache) { _orderCache = orderCache; _fieldsCache = fieldsCache; }