public MainInitializer(IAllianceInitializer allianceInitializer, IMapGInitializer mapGInitializer, IAuthUsersInitializer authUsersInitializer, IGameUserService gameUserService, INpcInitializer npcInitializer, IUserInitializer userInitializer, IUserNameSercherPkCache userNameSercherPkCache, IUserLocalStorageCache userCache, IUserRepository userRepo, IAllianceService allianceService, IChannelService channelService, IDbProvider provider) { _allianceInitializer = allianceInitializer; _mapGInitializer = mapGInitializer; _authUsersInitializer = authUsersInitializer; _gameUserService = gameUserService; _npcInitializer = npcInitializer; _userInitializer = userInitializer; _userNameSercherPkCache = userNameSercherPkCache; _userCache = userCache; _userRepo = userRepo; _allianceService = allianceService; _provider = provider; _channelService = (ChannelService)channelService; _admUser = MainUserRepository.GetAdminUser(); _textUser = MainUserRepository.GetTextureUser(); _demoUser = MainUserRepository.GetUser(MainUserRepository.DemoUserName); }
public AllianceGApiController(IServiceProvider serviceProvider) : base(serviceProvider, false) { _allianceInitializer = _svp.GetService <IAllianceInitializer>(); }