示例#1
0
 private AvatarManager()
 {
     Images = new List <Avatar>(StaffManager.GetInstance().Staffs.Select(x => x.Image));
     Images.Add(new Avatar()
     {
         ImageName = "User_12.jpg"
     });
 }
示例#2
0
 private ProfessionManager()
 {
     Professions = new ObservableCollection <Profession>(StaffManager.GetInstance().Staffs.Select(x => x.Profession));
 }