コード例 #1
0
        public CongressVotingService(ICongressVotingRepository congressVotingRepository, IPartyMemberRepository partyMemberRepository, ICongressmenRepository congressmenRepository,
                                     IProductTaxRepository productTaxRepository, IWarningService warningService, ICompanyService companyService, IWalletService walletService, IRegionRepository regionRepository,
                                     IReservedEntityNameRepository reservedEntityNameRepository, ICongressVotingReservedMoneyRepository congressVotingReservedMoneyRepository, ITransactionsService transactionsService,
                                     ICompanyRepository companyRepository, ICitizenRepository citizenRepository, IVotingGreetingMessageRepository votingGreetingMessageRepository,
                                     IHospitalService hospitalService, ICountryRepository countryRepository, IRemovalService removalService,
                                     IDefenseSystemService defenseSystemService, IConstructionService constructionService, ICountryEventService countryEventService)

        {
            this.congressVotingRepository              = congressVotingRepository;
            this.partyMemberRepository                 = partyMemberRepository;
            this.congressmenRepository                 = congressmenRepository;
            this.productTaxRepository                  = productTaxRepository;
            this.warningService                        = warningService;
            this.companyService                        = companyService;
            this.walletService                         = walletService;
            this.regionRepository                      = regionRepository;
            this.reservedEntityNameRepository          = reservedEntityNameRepository;
            this.congressVotingReservedMoneyRepository = congressVotingReservedMoneyRepository;
            this.transactionsService                   = transactionsService;
            this.companyRepository                     = companyRepository;
            this.citizenRepository                     = citizenRepository;
            this.votingGreetingMessageRepository       = votingGreetingMessageRepository;
            this.hospitalService                       = hospitalService;
            this.countryRepository                     = countryRepository;
            this.removalService                        = removalService;
            this.constructionService                   = constructionService;
            this.defenseSystemService                  = defenseSystemService;
            this.countryEventService                   = countryEventService;
        }
コード例 #2
0
 public CongressCandidateService(
     ICongressCandidateVotingRepository congressCandidateVotingRepository, ICountryRepository countryRepository, ICongressmenRepository congressmenRepository,
     ICitizenService citizenService)
 {
     this.congressCandidateVotingRepository = congressCandidateVotingRepository;
     this.countryRepository     = countryRepository;
     this.congressmenRepository = congressmenRepository;
     this.citizenService        = citizenService;
 }
コード例 #3
0
 public WarningService(IWarningRepository warningRepository, IEntityRepository entityRepository, ICongressmenRepository congressmenRepository)
 {
     this.warningRepository     = warningRepository;
     this.entityRepository      = entityRepository;
     this.congressmenRepository = congressmenRepository;
 }