Example #1
0
 public CharactersViewModel(SaveFf7Remake save, EquipmentsViewModel weapons, MateriaViewModel materia) :
     this(save.Characters.Select((_, i) => new CharacterEntryModel(save, i, weapons, materia)))
 {
     _save = save;
 }
Example #2
0
 public EquipmentsViewModel(IEnumerable <MateriaEquipment> equipments, MateriaViewModel materiaVm) :
     this(equipments.Select(x => new EquipmentEntryModel(x, materiaVm)))
 {
 }
Example #3
0
 public EquipmentsViewModel(WeaponFound[] weaponFound, IEnumerable <MateriaEquipment> equipments, MateriaViewModel materiaVm) :
     this(equipments.Select((x, i) => new EquipmentEntryModel(i, weaponFound, x, materiaVm)))
 {
 }