public async void GetQuotesForSymbols(string symbols) { var request = new StockQuoteRequest(); var message = await request.RequestStockQuotes(symbols); QuoteList = message.Quotes; }
public async void GetQuotesForSymbols(string symbols) { var request = new StockQuoteRequest(); var message = await request.RequestStockQuotes(symbols); QuoteList = message.Quotes.Select(quote => quote.Name).ToList(); }
public async void GetQuotesForSymbols(string symbols) { if (!string.IsNullOrWhiteSpace(symbols)) { var request = new StockQuoteRequest(); var message = await request.RequestStockQuotes(symbols); QuoteList = message.Quotes; } }