public PatchNotesPage(ChangelogDownloader downloader) { InitializeComponent(); this.downloader = downloader; this.DataContext = this.downloader; this.downloader.RefreshableStateChanged += Downloader_RefreshableStateChanged; this.downloader.UpdateList(); PatchNotesList.ItemsSource = downloader.PatchNotes; var view = CollectionViewSource.GetDefaultView(PatchNotesList.ItemsSource) as CollectionView; view.Filter = ConfigManager.Filter_PatchNotes; }
public PatchNotesPage(ChangelogDownloader _downloader) { InitializeComponent(); this.downloader = _downloader; this.DataContext = this.downloader; }
public static void Init_IsBugRockOfTheWeek() { _IsBugRockOfTheWeek = ChangelogDownloader.GetBedrockOfTheWeekStatus(); }