public ComputerReadOnlyRepository(IConnection connection, IComponentReadOnlyRepository componentRepository, ICostsReadOnlyRepository costRepo) : base(connection) { this.componentRepository = componentRepository; this.costRepo = costRepo; }
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; }
public UpdateCost(IUpdateCostRepository update, ICostsReadOnlyRepository read) { this.update = update; this.read = read; }
public CostController(IUpdateCost update, ICostsReadOnlyRepository read) { this.update = update; this.read = read; }