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;
        }
 public PresenceController(
     ISessionRepository sessionRepository,
     IPartyRepository partyRepository,
     IPartyMemberRepository partyMemberRepository,
     IUserPresenceRepository userPresenceRepository)
 {
     _sessionRepository = sessionRepository;
     _partyRepository = partyRepository;
     _partyMemberRepository = partyMemberRepository;
     _userPresenceRepository = userPresenceRepository;
 }
 public PresenceController(
     ISessionRepository sessionRepository,
     IPartyRepository partyRepository,
     IPartyMemberRepository partyMemberRepository,
     IUserPresenceRepository userPresenceRepository)
 {
     _sessionRepository      = sessionRepository;
     _partyRepository        = partyRepository;
     _partyMemberRepository  = partyMemberRepository;
     _userPresenceRepository = userPresenceRepository;
 }
Esempio n. 4
0
 public MatchmakingJob(IPartyRepository partyRepository, IPartyMemberRepository partyMemberRepository, ISessionRepository sessionRepository)
 {
     if (partyRepository == null)
     {
         throw new ArgumentNullException("partyRepository");
     }
     if (partyMemberRepository == null)
     {
         throw new ArgumentNullException("partyMemberRepository");
     }
     if (sessionRepository == null)
     {
         throw new ArgumentNullException("sessionRepository");
     }
     _partyRepository       = partyRepository;
     _partyMemberRepository = partyMemberRepository;
     _sessionRepository     = sessionRepository;
 }
 public DataManager(IDistrictRepository districtRepository,
                    ILocalityRepository localityRepository,
                    IStreetRepository streetRepository,
                    IHouseRepository houseRepository,
                    IMunicipalityRepository municipalityRepository,
                    IPersonRepository personRepository,
                    INationalityRepository nationalityRepository,
                    IEducationRepository educationRepository,
                    IOrganizationRepository organizationRepository,
                    IMunicipalityHouseRelationRepository municipalityHouseRelationRepository,
                    IRegistrationRepository registrationRepository,
                    IPartyRepository partyRepository,
                    IPrecinctRepository precinctRepository,
                    IUserRepository userRepository,
                    IWorkerRepository workerRepository,
                    IVoterPartyRelationRepository voterPartyRelationRepository,
                    IVoterRepository voterRepository,
                    IUserLogRepository userLogRepository,
                    IRelationshipRepository relationshipRepository,
                    IPersonRelationRepository personRelationRepository,
                    ICandidateRepository candidateRepository,
                    IAgitatorRepository agitatorRepository,
                    IWorkerHouseRelationRepository workerHouseRelationRepository,
                    IAgitatorHouseRelationRepository agitatorHouseRelationRepository,
                    IAgitatorPrecinctRelationRepository agitatorPrecinctRelationRepository,
                    ICandidatePrecinctRelationRepository candidatePrecinctRelationRepository,
                    ICandidateMunicipalityRelationRepository candidateMunicipalityRelationRepository,
                    ITempPersonRepository tempPersonRepository,
                    IGEORepository geoRepository,
                    IPartyMemberRepository partyMemberRepository,
                    IPartySupporterRepository partySupporterRepository)
 {
     this.districtRepository     = districtRepository;
     this.municipalityRepository = municipalityRepository;
     this.personRepository       = personRepository;
     this.localityRepository     = localityRepository;
     this.nationalityRepository  = nationalityRepository;
     this.streetRepository       = streetRepository;
     this.houseRepository        = houseRepository;
     this.educationRepository    = educationRepository;
     this.organizationRepository = organizationRepository;
     this.municipalityHouseRelationRepository = municipalityHouseRelationRepository;
     this.registrationRepository                  = registrationRepository;
     this.partyRepository                         = partyRepository;
     this.precinctRepository                      = precinctRepository;
     this.userRepository                          = userRepository;
     this.workerRepository                        = workerRepository;
     this.voterPartyRelationRepository            = voterPartyRelationRepository;
     this.voterRepository                         = voterRepository;
     this.userLogRepository                       = userLogRepository;
     this.relationshipRepository                  = relationshipRepository;
     this.personRelationRepository                = personRelationRepository;
     this.candidateRepository                     = candidateRepository;
     this.agitatorRepository                      = agitatorRepository;
     this.workerHouseRelationRepository           = workerHouseRelationRepository;
     this.agitatorHouseRelationRepository         = agitatorHouseRelationRepository;
     this.agitatorPrecinctRelationRepository      = agitatorPrecinctRelationRepository;
     this.candidatePrecinctRelationRepository     = candidatePrecinctRelationRepository;
     this.candidateMunicipalityRelationRepository = candidateMunicipalityRelationRepository;
     this.tempPersonRepository                    = tempPersonRepository;
     this.geoRepository            = geoRepository;
     this.partyMemberRepository    = partyMemberRepository;
     this.partySupporterRepository = partySupporterRepository;
 }
Esempio n. 6
0
 public DataManager(IDistrictRepository districtRepository,
     ILocalityRepository localityRepository,
     IStreetRepository streetRepository,
     IHouseRepository houseRepository,
     IMunicipalityRepository municipalityRepository,
     IPersonRepository personRepository,
     INationalityRepository nationalityRepository,
     IEducationRepository educationRepository,
     IOrganizationRepository organizationRepository,
     IMunicipalityHouseRelationRepository municipalityHouseRelationRepository,
     IRegistrationRepository registrationRepository,
     IPartyRepository partyRepository,
     IPrecinctRepository precinctRepository,
     IUserRepository userRepository,
     IWorkerRepository workerRepository,
     IVoterPartyRelationRepository voterPartyRelationRepository,
     IVoterRepository voterRepository,
     IUserLogRepository userLogRepository,
     IRelationshipRepository relationshipRepository,
     IPersonRelationRepository personRelationRepository,
     ICandidateRepository candidateRepository,
     IAgitatorRepository agitatorRepository,
     IWorkerHouseRelationRepository workerHouseRelationRepository,
     IAgitatorHouseRelationRepository agitatorHouseRelationRepository,
     IAgitatorPrecinctRelationRepository agitatorPrecinctRelationRepository,
     ICandidatePrecinctRelationRepository candidatePrecinctRelationRepository,
     ICandidateMunicipalityRelationRepository candidateMunicipalityRelationRepository,
     ITempPersonRepository tempPersonRepository,
     IGEORepository geoRepository,
     IPartyMemberRepository partyMemberRepository,
     IPartySupporterRepository partySupporterRepository)
 {
     this.districtRepository = districtRepository;
     this.municipalityRepository = municipalityRepository;
     this.personRepository = personRepository;
     this.localityRepository = localityRepository;
     this.nationalityRepository = nationalityRepository;
     this.streetRepository = streetRepository;
     this.houseRepository = houseRepository;
     this.educationRepository = educationRepository;
     this.organizationRepository = organizationRepository;
     this.municipalityHouseRelationRepository = municipalityHouseRelationRepository;
     this.registrationRepository = registrationRepository;
     this.partyRepository = partyRepository;
     this.precinctRepository = precinctRepository;
     this.userRepository = userRepository;
     this.workerRepository = workerRepository;
     this.voterPartyRelationRepository = voterPartyRelationRepository;
     this.voterRepository = voterRepository;
     this.userLogRepository = userLogRepository;
     this.relationshipRepository = relationshipRepository;
     this.personRelationRepository = personRelationRepository;
     this.candidateRepository = candidateRepository;
     this.agitatorRepository = agitatorRepository;
     this.workerHouseRelationRepository = workerHouseRelationRepository;
     this.agitatorHouseRelationRepository = agitatorHouseRelationRepository;
     this.agitatorPrecinctRelationRepository = agitatorPrecinctRelationRepository;
     this.candidatePrecinctRelationRepository = candidatePrecinctRelationRepository;
     this.candidateMunicipalityRelationRepository = candidateMunicipalityRelationRepository;
     this.tempPersonRepository = tempPersonRepository;
     this.geoRepository = geoRepository;
     this.partyMemberRepository = partyMemberRepository;
     this.partySupporterRepository = partySupporterRepository;
 }
Esempio n. 7
0
 public PartyMemberDomain(IPartyMemberRepository repository) : base(repository)
 {
 }