Exemplo n.º 1
0
 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;
 }
Exemplo n.º 3
0
 public TradeBlotterViewModel(IOrderCache orderCache, IOrderFieldsCache fieldsCache)
 {
     _orderCache  = orderCache;
     _fieldsCache = fieldsCache;
 }