public async Task Initialize() { context = await UtilityFactory.CreateContextAsync(); countryService = new CountryService(UtilityFactory.CreateMapper(), context, new AsyncReaderWriterLock(), ModifierParserContainer.CreateDefault()); }
public async Task Initialize() { context = await UtilityFactory.CreateContextAsync(); turnService = new TurnHandlingService(new ModifierParserContainer(new AbstractEffectModifierParser[] { new BarrackSpaceEffectParser(), new CoralProductionEffectParser(), new PearlProductionEffectParser(), new HarvestModifierEffectParser(), new PopulationEffectParser(), new TaxModifierEffectParser(), new UnitDefenseEffectParser(), new UnitAttackEffectParser(), new AddBuildingEffectParser(), new IncreaseUnitAttackEffectParser(), new BuildingCoralProductionEffectParser() })); }
public async Task Initialize() { context = await UtilityFactory.CreateContextAsync(); commandService = new CommandService(context, UtilityFactory.CreateMapper()); }
public async Task Initialize() { context = await UtilityFactory.CreateContextAsync(); buildingService = new BuildingService(context, UtilityFactory.CreateMapper()); }
public async Task Initialize() { context = await UtilityFactory.CreateContextAsync(); turnService = new TurnHandlingService(ModifierParserContainer.CreateDefault(), new AsyncReaderWriterLock()); }
public async Task Initialize() { context = await UtilityFactory.CreateContextAsync(); researchService = new ResearchService(context, UtilityFactory.CreateMapper()); }