public StockChartPresenter(IAppStatusService statusService, IMarshalInvokeService marshalInvoke, StockItem stockItem) : base(stockItem.Symbol) { _statusService = statusService; _marshalInvoke = marshalInvoke; _stockItem = stockItem; FetchPriceData(stockItem.Symbol); }
public StockChartPresenter(IAppStatusService statusService, IMarshalInvokeService marshalInvoke, StockItem stockItem) : base(stockItem.Symbol) { _statusService = statusService; _marshalInvoke = marshalInvoke; _stockItem = stockItem; FetchPriceData (stockItem.Symbol); }
public DefaultMqPublisher( IMqChannelProvider channelProvider, IMqStatusService statusService, IAppStatusService appStatusService = null) { _statusService = statusService; _appStatusService = appStatusService; _channelProvider = channelProvider; }
public StockPriceListPresenter(IAppStatusService statusService, IMarshalInvokeService marshalInvoke, INavigationService navigationService) : base("FTSE 100") { _statusService = statusService; _marshalInvoke = marshalInvoke; _navigationService = navigationService; // generate the stock data items from a CSV list var symbols = FTSE100.Split (','); foreach (var symbol in symbols) { _stocks.Add (new StockItem (symbol)); } FetchQuotes (); }
public StockPriceListPresenter(IAppStatusService statusService, IMarshalInvokeService marshalInvoke, INavigationService navigationService) : base("FTSE 100") { _statusService = statusService; _marshalInvoke = marshalInvoke; _navigationService = navigationService; // generate the stock data items from a CSV list var symbols = FTSE100.Split(','); foreach (var symbol in symbols) { _stocks.Add(new StockItem(symbol)); } FetchQuotes(); }
IMqPublisher CreateTestPublisher(IAppStatusService appStatusService = null) => new DefaultMqPublisher( new DefaultMqChannelProvider(new DefaultMqConnectionProvider(TestMqTools.Load())), null, appStatusService);