Exemple #1
0
 public EmbargoService(ICountryRepository countryRepository, IEmbargoRepository embargoRepository, IWarningService warningService, Entities.Repository.IWalletRepository walletRepository,
                       ITransactionsService transactionService)
 {
     this.countryRepository  = countryRepository;
     this.embargoRepository  = embargoRepository;
     this.warningService     = warningService;
     this.walletRepository   = walletRepository;
     this.transactionService = transactionService;
 }
Exemple #2
0
 public WarController(IWarRepository warRepository, IWarService warService, IBattleService battleService, ICountryRepository countryRepository, IRegionRepository regionRepository,
                      Entities.Repository.IWalletRepository walletRepository, IPopupService popupService) : base(popupService)
 {
     this.warRepository     = warRepository;
     this.warService        = warService;
     this.battleService     = battleService;
     this.countryRepository = countryRepository;
     this.regionRepository  = regionRepository;
     this.walletRepository  = walletRepository;
 }
Exemple #3
0
 public WarService(IWarRepository warRepository, Entities.Repository.IWalletRepository walletRepository, ICountryRepository countryRepository, ITransactionsService transactionService,
                   IWarningService warningService, ICitizenRepository citizenRepository, ICitizenService citizenService, IPopupService popupService, IWalletService walletService,
                   IBattleRepository battleRepository, IWarEventService warEventService)
 {
     this.warRepository      = warRepository;
     this.walletRepository   = walletRepository;
     this.countryRepository  = countryRepository;
     this.transactionService = Attach(transactionService);
     this.warningService     = Attach(warningService);
     this.citizenRepository  = citizenRepository;
     this.citizenService     = citizenService;
     this.popupService       = Attach(popupService);
     this.walletService      = Attach(walletService);
     this.battleRepository   = battleRepository;
     this.warEventService    = warEventService;
 }
 public CitizenService(ICountryRepository countriesRepository, Entities.Repository.IWalletRepository walletsRepository, ICitizenRepository citizensRepository,
                       IEntityService entitiesService, IConfigurationRepository configurationRepository, ITransactionsService transactionService, IWarningService warningService,
                       IPopupService popupService, IWalletService walletService, IMessageService messageService, IEquipmentService equipmentService)
 {
     this.countriesRepository     = countriesRepository;
     this.walletsRepository       = walletsRepository;
     this.entitiesService         = entitiesService;
     this.configurationRepository = configurationRepository;
     this.citizenRepository       = citizensRepository;
     this.transactionService      = Attach(transactionService);
     this.warningService          = Attach(warningService);
     this.popupService            = Attach(popupService);
     this.walletService           = walletService;
     this.messageService          = messageService;
     this.equipmentService        = equipmentService;
 }
 public CitizenController(ICitizenRepository citizenRepository, IEquipmentRepository equipmentRepository, IRegionRepository regionRepository
                          , IRegionService regionService, ITravelService travelService, IWarRepository warRepository, Entities.Repository.IWalletRepository walletRepository,
                          ICountryRepository countryRepository, ICitizenService citizenService, IPopupService popupService,
                          IFriendService friendService, IFriendRepository friendRepository) : base(popupService)
 {
     this.citizenRepository   = citizenRepository;
     this.equipmentRepository = equipmentRepository;
     this.regionRepository    = regionRepository;
     this.regionService       = regionService;
     this.travelService       = travelService;
     this.warRepository       = warRepository;
     this.walletRepository    = walletRepository;
     this.countryRepository   = countryRepository;
     this.citizenService      = citizenService;
     this.friendService       = friendService;
     this.friendRepository    = friendRepository;
 }
 public WalletService(Entities.Repository.IWalletRepository walletsRepository, IEntityRepository entitiesRepository, ICurrencyRepository currencyRepository)
 {
     this.walletRepository   = walletsRepository;
     this.entityRepository   = entitiesRepository;
     this.currencyRepository = currencyRepository;
 }