Ejemplo n.º 1
0
 public CommandInterpreter(
     IRepository <IWeapon> weaponRepository,
     IWeaponFactory weaponFactory,
     IRarityFactory rarityFactory,
     IGemFactory gemFactory,
     IClarityFactory clarityFactory,
     IWriter writer)
 {
     this.weaponRepository = weaponRepository;
     this.weaponFactory    = weaponFactory;
     this.rarityFactory    = rarityFactory;
     this.gemFactory       = gemFactory;
     this.clarityFactory   = clarityFactory;
     this.writer           = writer;
 }
 public AddGemToWeaponCommand(IRepository <IWeapon> weaponRepository, IGemFactory gemFactory, IClarityFactory clarityFactory)
 {
     this.weaponRepository = weaponRepository;
     this.gemFactory       = gemFactory;
     this.clarityFactory   = clarityFactory;
 }