public StationConnectionChecker(IStationFeedService stationFeedService,
     IConfigurationService configurationService)
 {
     ConfigurationService = configurationService;
     stationCollection = stationFeedService.CachedStations;
     stationCollection.CollectionChanged += StationCollection_OnCollectionChanged;
 }
        public ApplicationMain()
        {
            InitializeComponent();
            stationFeedService = CastleWindsorFrameworkHelper.New<IStationFeedService>();
            StationConnectionChecker stationConnectionChecker = new StationConnectionChecker(stationFeedService, CastleWindsorFrameworkHelper.New<IConfigurationService>());
            bookmarkManager = CastleWindsorFrameworkHelper.New<IBookmarkManager>();

            bookmarksListView.ItemsSource =
                new ReadOnlySynchronizedObservableCollection<Station>(bookmarkManager.GetBookmarkedStations());

            try
            {
                genreComboBox.ItemsSource = stationFeedService.GetGenreList();
            }
            catch (Exception)
            {
                OfflineMessageBox();
            }
        }