Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public ResourceService(ResourceListQuery resourceListQuery, BuildingListQuery buildingListQuery, ResourceRepository resourceRepository)
 {
     this.resourceListQuery  = resourceListQuery;
     this.buildingListQuery  = buildingListQuery;
     this.resourceRepository = resourceRepository;
 }
Ejemplo n.º 4
0
        public VillageService(PlayerRepository playerRepository, VillageRepository villageRepository, BuildingRepository buildingRepository, BuildingTypeRepository buildingTypeRepository, UnitRepository unitRepository, UnitTypeRepository unitTypeRepository, ProductRepository productRepository, ProductTypeRepository productTypeRepository, ResourceRepository resourceRepository, ResourceTypeRepository resourceTypeRepository, BuildingListQuery buildingListQuery, BuildingTypeListQuery buildingTypeListQuery, ProductListQuery productListQuery, ProductTypeListQuery productTypeListQuery, ResourceTypeListQuery resourceTypeListQuery, UnitTypeListQuery unitTypeListQuery, VillageListQuery villageListQuery, AdventureRepository adventureRepository, AdventureTypeRepository adventureTypeRepository, AdventureTypeListQuery adventureTypeListQuery, UnitListQuery unitListQuery)
        {
            this.playerRepository  = playerRepository;
            this.villageRepository = villageRepository;

            this.buildingRepository     = buildingRepository;
            this.buildingTypeRepository = buildingTypeRepository;

            this.unitRepository     = unitRepository;
            this.unitTypeRepository = unitTypeRepository;

            this.productRepository     = productRepository;
            this.productTypeRepository = productTypeRepository;

            this.resourceRepository     = resourceRepository;
            this.resourceTypeRepository = resourceTypeRepository;

            this.adventureRepository     = adventureRepository;
            this.adventureTypeRepository = adventureTypeRepository;


            this.buildingTypeListQuery = buildingTypeListQuery;

            this.productTypeListQuery = productTypeListQuery;
            this.productListQuery     = productListQuery;

            this.resourceTypeListQuery  = resourceTypeListQuery;
            this.unitTypeListQuery      = unitTypeListQuery;
            this.adventureTypeListQuery = adventureTypeListQuery;
            this.villageListQuery       = villageListQuery;
            this.unitListQuery          = unitListQuery;
        }