Ejemplo n.º 1
0
 public ComputerReadOnlyRepository(IConnection connection, IComponentReadOnlyRepository componentRepository, ICostsReadOnlyRepository costRepo) : base(connection)
 {
     this.componentRepository = componentRepository;
     this.costRepo            = costRepo;
 }
Ejemplo n.º 2
0
 public BuilderComputer(IStrategyOrderBy orderBy, IFactoryCompatibility factoryCompatibility, IFactoryEnough factoryEnough, IComponentReadOnlyRepository componentRepo, ICostsReadOnlyRepository costRepo)
 {
     this.orderBy = orderBy;
     this.factoryCompatibility = factoryCompatibility;
     this.factoryEnough        = factoryEnough;
     repository = componentRepo;
     buildCost  = costRepo.BuildCost;
     pricePerfomanceMultiplier = costRepo.PricePerfomanceMultiplier;
 }
Ejemplo n.º 3
0
 public UpdateCost(IUpdateCostRepository update, ICostsReadOnlyRepository read)
 {
     this.update = update;
     this.read   = read;
 }
Ejemplo n.º 4
0
 public CostController(IUpdateCost update, ICostsReadOnlyRepository read)
 {
     this.update = update;
     this.read   = read;
 }