private void Feed_Loaded(object sender, RoutedEventArgs e)
        {
            var initialCategorySet = new HashSet <CardCategory>();

            if (InitialCategory != null)
            {
                initialCategorySet.Add((CardCategory)Enum.Parse(typeof(CardCategory), InitialCategory.ToUpper()));
            }
            _feedViewModel.GetFeed(initialCategorySet);
            _feedAnalyticsTracker.LogFeedDisplayed();
            _impressionTimer.Start();
        }
示例#2
0
 void Feed_Loaded(object sender, RoutedEventArgs e)
 {
     _feedViewModel.GetFeed();
     _feedAnalyticsTracker.LogFeedDisplayed();
     _impressionTimer.Start();
 }