示例#1
0
 private ObservableCollection <Achievement> GenerateItems(IReadOnlyList <Achievement> items)
 {
     foreach (var item in items)
     {
         AllAchievements.Add(item);
     }
     return(AllAchievements);
 }
示例#2
0
 private ObservableCollection <Achievement> GenerateItems(Achievement item)
 {
     AllAchievements.Add(item);
     return(AllAchievements);
 }