示例#1
0
 public AllianceService(
     IAllianceRepository aRepo,
     IAllianceLocalStorageCache aCache,
     IAllianceUserRepository aUserRepo,
     IAllianceUserLocalStorageCache aUserCache,
     IAllianceRequestMessageRepository armRepo,
     IAllianceRequestMessageLocalStorageCache armCache,
     IAllianceRoleRepository aRolesRepo,
     IAllianceRoleLocalStorageCache aRolesCache,
     IAlianceNameSercherPkCache aNameSercher,
     IGDetailPlanetLocalStorageCache planetDetailCache,
     IAllianceTechLocalStorageCache aTechCahce,
     IAllianceFleetLocalStorageCache aFleetCache,
     IAllianceTechRepository aTechRepo,
     IChannelService channelService, ILocalizerService localizer)
 {
     _aRepo             = aRepo;
     _aCache            = aCache;
     _aUserRepo         = aUserRepo;
     _aUserCache        = aUserCache;
     _armRepo           = armRepo;
     _armCache          = armCache;
     _aRolesRepo        = aRolesRepo;
     _aRolesCache       = aRolesCache;
     _aNameSercher      = aNameSercher;
     _planetDetailCache = planetDetailCache;
     _aTechCahce        = aTechCahce;
     _aFleetCache       = aFleetCache;
     _aTechRepo         = aTechRepo;
     _localizer         = localizer;
     _channelService    = (ChannelService)channelService;
 }
示例#2
0
 public AllianceLocalStorageCache(IAllianceRepository repository)
     : base(repository)
 {
 }
示例#3
0
 public AlliancesController(IAllianceRepository context)
 {
     _context = context;
 }