/// <summary> /// Removes given Market Data Provider from Market Data Engine - Server /// </summary> private void RemoveMarketDataProvider() { var result = _providersController.RemoveMarketDataProvider(SelectedMarketDataProvider); if (result.Item1) { // Remove SelectedMarketDataProvider MarketDataProviders.Remove(SelectedMarketDataProvider); // Select 1st provider from collection if not empty if (MarketDataProviders.Count > 0) { SelectedMarketDataProvider = MarketDataProviders[0]; } } DisplayInformationMessage(result, "Market Data Provider"); }