Exemple #1
0
 public ProductService(ProductRepository productRepository, ProductTypeRepository productTypeRepository, ResourceRepository resourceRepository, ResourceTypeRepository resourceTypeRepository, VillageRepository villageRepository, ProductListQuery productListQuery, ResourceListQuery resourceListQuery, BuildingListQuery buildingListQuery)
 {
     this.productRepository  = productRepository;
     this.resourceRepository = resourceRepository;
     this.productListQuery   = productListQuery;
     this.resourceListQuery  = resourceListQuery;
     this.buildingListQuery  = buildingListQuery;
 }
 public BuildingService(BuildingRepository buildingRepository, VillageRepository villageRepository, PlayerRepository playerRepository, ResourceRepository resourceRepository, BuildingListQuery buildingListQuery, ResourceListQuery resourceListQuery)
 {
     this.buildingRepository = buildingRepository;
     this.villageRepository  = villageRepository;
     this.playerRepository   = playerRepository;
     this.resourceRepository = resourceRepository;
     this.buildingListQuery  = buildingListQuery;
     this.resourceListQuery  = resourceListQuery;
 }
 public AdventureService(AdventureTypeRepository adventureTypeRepository, AdventureListQuery adventureListQuery, UnitRepository unitRepository, UnitTypeListQuery unitTypeListQuery, ProductRepository productRepository, ProductListQuery productListQuery, ResourceRepository resourceRepository, ResourceListQuery resourceListQuery, AdventureRepository adventureRepository)
 {
     this.adventureTypeRepository = adventureTypeRepository;
     this.adventureListQuery      = adventureListQuery;
     this.unitRepository          = unitRepository;
     this.unitTypeListQuery       = unitTypeListQuery;
     this.productRepository       = productRepository;
     this.productListQuery        = productListQuery;
     this.resourceRepository      = resourceRepository;
     this.resourceListQuery       = resourceListQuery;
     this.adventureRepository     = adventureRepository;
 }
Exemple #4
0
 public ResourceService(ResourceListQuery resourceListQuery, BuildingListQuery buildingListQuery, ResourceRepository resourceRepository)
 {
     this.resourceListQuery  = resourceListQuery;
     this.buildingListQuery  = buildingListQuery;
     this.resourceRepository = resourceRepository;
 }