예제 #1
0
 public FacilityAddProcess()
 {
     _redisClient         = RedisClient.DefaultDB;
     _farmService         = AhnqIotContainer.Container.Resolve <IFarmService>();
     _facilityService     = AhnqIotContainer.Container.Resolve <IFacilityService>();
     _facilityTypeService = AhnqIotContainer.Container.Resolve <IFacilityTypeService>();
 }
예제 #2
0
 public DbSeeder(
     IWorldService worldService,
     IFactionService factionService,
     IItemService itemService,
     IItemCategoryService itemCategoryService,
     IZoneService zoneService,
     IProfileService profileService,
     ILoadoutService loadoutService,
     IScrimRulesetManager rulesetManager,
     IFacilityService facilityService,
     IFacilityTypeService facilityTypeService,
     IVehicleService vehicleService,
     IVehicleTypeService vehicleTypeService,
     IDeathEventTypeService deathTypeService,
     ISqlScriptRunner sqlScriptRunner,
     ILogger <DbSeeder> logger
     )
 {
     _worldService        = worldService;
     _factionService      = factionService;
     _itemService         = itemService;
     _itemCategoryService = itemCategoryService;
     _zoneService         = zoneService;
     _profileService      = profileService;
     _loadoutService      = loadoutService;
     _rulesetManager      = rulesetManager;
     _facilityService     = facilityService;
     _facilityTypeService = facilityTypeService;
     _vehicleService      = vehicleService;
     _vehicleTypeService  = vehicleTypeService;
     _deathTypeService    = deathTypeService;
     _sqlScriptRunner     = sqlScriptRunner;
     _logger = logger;
 }
예제 #3
0
        public DatabaseMaintenanceService(
            IFacilityTypeService facilityTypeService,
            IFacilityService facilityService,
            IItemService itemService,
            IItemCategoryService itemCategoryService,
            IProfileService profileService,
            ILoadoutService loadoutService,
            IZoneService zoneService,
            IWorldService worldService,
            IFactionService factionService,
            IVehicleService vehicleService,
            ISqlScriptRunner adhocScriptRunner,
            IWebHostEnvironment env
            )
        {
            _facilityService     = facilityService;
            _facilityTypeService = facilityTypeService;
            _itemService         = itemService;
            _itemCategoryService = itemCategoryService;
            _profileService      = profileService;
            _loadoutService      = loadoutService;
            _zoneService         = zoneService;
            _worldService        = worldService;
            _factionService      = factionService;
            _vehicleService      = vehicleService;
            _adhocScriptRunner   = adhocScriptRunner;
            _env = env;

            _mapRegions     = new CensusStoreDataComparisonRow("Map Regions", _facilityService);
            _facilityTypes  = new CensusStoreDataComparisonRow("Facility Types", _facilityTypeService);
            _items          = new CensusStoreDataComparisonRow("Items", _itemService);
            _itemCategories = new CensusStoreDataComparisonRow("Item Categories", _itemCategoryService);
            _profiles       = new CensusStoreDataComparisonRow("Profiles", _profileService);
            _loadouts       = new CensusStoreDataComparisonRow("Loadouts", _loadoutService);
            _zones          = new CensusStoreDataComparisonRow("Zones", _zoneService);
            _worlds         = new CensusStoreDataComparisonRow("Worlds", _worldService);
            _factions       = new CensusStoreDataComparisonRow("Factions", _factionService);
            _vehicles       = new CensusStoreDataComparisonRow("Vehicles", _vehicleService);

            Comparisons.Add(_mapRegions);
            Comparisons.Add(_facilityTypes);
            Comparisons.Add(_items);
            Comparisons.Add(_itemCategories);
            Comparisons.Add(_profiles);
            Comparisons.Add(_loadouts);
            Comparisons.Add(_zones);
            Comparisons.Add(_worlds);
            Comparisons.Add(_factions);
            Comparisons.Add(_vehicles);
        }
예제 #4
0
 public FacilityTypeController(IFacilityTypeService facilityTypeService)
 {
     _facilityTypeService = facilityTypeService;
 }
예제 #5
0
 public FacilityTypeProcess()
 {
     _facilityTypeService = AhnqIotContainer.Container.Resolve <IFacilityTypeService>();
 }
예제 #6
0
 public FacilityTypesController(IFacilityTypeService service)
 {
     _service = service;
 }