示例#1
0
 public void UpdateList()
 {
     _recentBeatmaps = new ObservableCollection <Beatmap>(
         _beatmapOperator.GetBeatmapsByMapInfo(_appDbOperator.GetRecentList(), TimeSortMode.PlayTime));
     DataModels             = new NumberableObservableCollection <BeatmapDataModel>(_recentBeatmaps.ToDataModelList(false));
     RecentList.DataContext = DataModels.ToList();
 }
示例#2
0
 public void UpdateList()
 {
     _entries               = BeatmapQuery.GetRecentListFromDb();
     DataModels             = new NumberableObservableCollection <BeatmapDataModel>(_entries.ToDataModels(false));
     RecentList.DataContext = DataModels.ToList();
 }
示例#3
0
 public void UpdateList()
 {
     _entries               = InstanceManage.GetInstance <OsuDbInst>().Beatmaps.GetRecentListFromDb();
     DataModels             = new NumberableObservableCollection <BeatmapDataModel>(_entries.ToDataModels(false));
     RecentList.DataContext = DataModels.ToList();
 }