Пример #1
0
 public SettingsController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery, IUsersQuery usersQuery, ISettingsCommand settingsCommand, ISettingsQuery settingsQuery)
     : base(accountsManager, loginCredentialsQuery, faqsQuery)
 {
     _usersQuery      = usersQuery;
     _settingsCommand = settingsCommand;
     _settingsQuery   = settingsQuery;
 }
Пример #2
0
        public EmailsCommand(
            ISettingsQuery settingsQuery,
            ISettingsCommand settingsCommand,
            ICommunicationEngine communicationEngine,
            ITemplateEngine templateEngine,
            IAffiliateEmailsQuery affiliateEmailsQuery,
            IUserEmailsQuery userEmailsQuery,
            string memberServicesAddress,
            string employerServicesAddress,
            string systemAddress,
            string returnAddress,
            string servicesDisplayName,
            string allStaffAddress,
            string allStaffDisplayName,
            string redStarResumeAddress,
            string redStarResumeDisplayName)
        {
            _settingsQuery        = settingsQuery;
            _settingsCommand      = settingsCommand;
            _communicationEngine  = communicationEngine;
            _templateEngine       = templateEngine;
            _affiliateEmailsQuery = affiliateEmailsQuery;
            _userEmailsQuery      = userEmailsQuery;

            _memberServicesUser   = new EmailUser(memberServicesAddress, servicesDisplayName, null);
            _employerServicesUser = new EmailUser(employerServicesAddress, servicesDisplayName, null);
            _systemUser           = new EmailUser(systemAddress, servicesDisplayName, null);
            _allStaffUser         = new EmailUser(allStaffAddress, allStaffDisplayName, null);
            _redStarResume        = new EmailUser(redStarResumeAddress, redStarResumeDisplayName, null);
            _returnUser           = new EmailUser(returnAddress, servicesDisplayName, null);
        }
Пример #3
0
 public JoinController(IPageflowEngine pageflowEngine, IAccountsManager accountsManager, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand, IMembersQuery membersQuery, ICandidatesCommand candidatesCommand, ICandidatesQuery candidatesQuery, ICandidateResumesCommand candidateResumesCommand, IResumesQuery resumesQuery, IAffiliationItemsFactory affiliationItemsFactory, IMemberAffiliationsCommand memberAffiliationsCommand, IMemberAffiliationsQuery memberAffiliationsQuery, IMemberStatusQuery memberStatusQuery, IFilesQuery filesQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IReferralsCommand referralsCommand, IReferralsQuery referralsQuery, IMemberFriendsCommand memberFriendsCommand, IMemberFriendsQuery memberFriendsQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
     : base(Routes, pageflowEngine)
 {
     _membersQuery                = membersQuery;
     _memberAccountsCommand       = memberAccountsCommand;
     _accountVerificationsCommand = accountVerificationsCommand;
     _accountsManager             = accountsManager;
     _candidatesQuery             = candidatesQuery;
     _candidatesCommand           = candidatesCommand;
     _candidateResumesCommand     = candidateResumesCommand;
     _resumesQuery                = resumesQuery;
     _filesQuery = filesQuery;
     _affiliationItemsFactory   = affiliationItemsFactory;
     _memberAffiliationsCommand = memberAffiliationsCommand;
     _memberAffiliationsQuery   = memberAffiliationsQuery;
     _memberStatusQuery         = memberStatusQuery;
     _locationQuery             = locationQuery;
     _industriesQuery           = industriesQuery;
     _referralsCommand          = referralsCommand;
     _referralsQuery            = referralsQuery;
     _memberFriendsCommand      = memberFriendsCommand;
     _memberFriendsQuery        = memberFriendsQuery;
     _settingsQuery             = settingsQuery;
     _settingsCommand           = settingsCommand;
 }
Пример #4
0
 public CampaignEmailsCommand(ICampaignsQuery campaignsQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand, IEmailsCommand emailsCommand, string returnAddress, string returnDisplayName)
 {
     _campaignsQuery  = campaignsQuery;
     _settingsQuery   = settingsQuery;
     _settingsCommand = settingsCommand;
     _emailsCommand   = emailsCommand;
     _from            = new EmailUser(returnAddress, returnDisplayName, null);
 }
Пример #5
0
 public SuggestedJobsCreatorTask(ICandidatesWorkflowQuery candidatesWorkflowQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
     : base(Logger)
 {
     _candidatesWorkflowQuery = candidatesWorkflowQuery;
     _settingsQuery           = settingsQuery;
     _settingsCommand         = settingsCommand;
     _categoryId = _settingsQuery.GetCategory("SuggestedJobs").Id;
 }
Пример #6
0
 public EmailMemberNewsletterTask(IEmailsCommand emailsCommand, ISettingsQuery settingsQuery, IMemberCommunicationsQuery memberCommunicationsQuery, IMembersQuery membersQuery)
     : base(EventSource, emailsCommand)
 {
     _settingsQuery             = settingsQuery;
     _definition                = _settingsQuery.GetDefinition(typeof(MemberNewsletterEmail).Name);
     _memberCommunicationsQuery = memberCommunicationsQuery;
     _membersQuery              = membersQuery;
 }
Пример #7
0
 public ProfilesController(ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IResumesQuery resumesQuery, ICandidatesQuery candidatesQuery, IMemberStatusQuery memberStatusQuery, IVerticalsQuery verticalsQuery, ISettingsQuery settingsQuery)
 {
     _locationQuery     = locationQuery;
     _industriesQuery   = industriesQuery;
     _resumesQuery      = resumesQuery;
     _candidatesQuery   = candidatesQuery;
     _memberStatusQuery = memberStatusQuery;
     _verticalsQuery    = verticalsQuery;
     _settingsQuery     = settingsQuery;
 }
Пример #8
0
 public SettingsController(IMemberAccountsCommand memberAccountsCommand, ILoginCredentialsQuery loginCredentialsQuery, IUserAccountsCommand userAccountsCommand, IAuthenticationManager authenticationManager, IAccountVerificationsCommand accountVerificationsCommand, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand, IVerticalsQuery verticalsQuery)
 {
     _memberAccountsCommand       = memberAccountsCommand;
     _loginCredentialsQuery       = loginCredentialsQuery;
     _userAccountsCommand         = userAccountsCommand;
     _authenticationManager       = authenticationManager;
     _accountVerificationsCommand = accountVerificationsCommand;
     _settingsQuery   = settingsQuery;
     _settingsCommand = settingsCommand;
     _verticalsQuery  = verticalsQuery;
 }
Пример #9
0
 public CampaignsController(ICampaignsCommand campaignsCommand, ICampaignsQuery campaignsQuery, ICampaignEmailsCommand campaignEmailsCommand, ICampaignCriteriaCommand campaignCriteriaCommand, ISettingsQuery settingsQuery, IIndustriesQuery industriesQuery, ICommunitiesQuery communitiesQuery, IAdministratorsQuery administratorsQuery, ILoginCredentialsQuery loginCredentialsQuery, IEmployersQuery employersQuery, IMembersQuery membersQuery, ILocationQuery locationQuery)
 {
     _campaignsCommand        = campaignsCommand;
     _campaignsQuery          = campaignsQuery;
     _campaignEmailsCommand   = campaignEmailsCommand;
     _campaignCriteriaCommand = campaignCriteriaCommand;
     _settingsQuery           = settingsQuery;
     _industriesQuery         = industriesQuery;
     _communitiesQuery        = communitiesQuery;
     _administratorsQuery     = administratorsQuery;
     _loginCredentialsQuery   = loginCredentialsQuery;
     _employersQuery          = employersQuery;
     _membersQuery            = membersQuery;
     _locationQuery           = locationQuery;
 }
Пример #10
0
        public SettingsManager(IUserContext userContext,
                               ISettingsQuery query,
                               IUserAuthorization userAuthorization,
                               IPersistenceCommands persistenceCommands)
        {
            ThrowNullArguments(() => query,
                               () => userContext,
                               () => userAuthorization,
                               () => persistenceCommands);

            _query      = query;
            _auth       = userAuthorization;
            _pcommand   = persistenceCommands;
            UserContext = userContext;
        }
        public SuggestedJobsWorkflowSubscriber(IChannelManager <IService> proxyManager, ICandidatesQuery candidatesQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
        {
            _proxyManager    = proxyManager;
            _candidatesQuery = candidatesQuery;
            _settingsQuery   = settingsQuery;
            _settingsCommand = settingsCommand;

            Category category = _settingsQuery.GetCategory("SuggestedJobs");

            if (category == null)
            {
                throw new InvalidOperationException("The 'SuggestedJobs' category is not defined.");
            }

            _categoryId = category.Id;
        }
Пример #12
0
 public OrganisationsController(IOrganisationsCommand organisationsCommand, IOrganisationsQuery organisationsQuery, ILoginCredentialsQuery loginCredentialsQuery, IAdministratorsQuery administratorsQuery, IEmployerAccountsCommand employerAccountsCommand, IEmployersQuery employersQuery, IExecuteOrganisationSearchCommand executeOrganisationSearchCommand, ICommunitiesQuery communitiesQuery, IIndustriesQuery industriesQuery, IPhoneNumbersQuery phoneNumbersQuery, ILocationQuery locationQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand, IEmailsCommand emailsCommand, IAccountReportsQuery accountReportsQuery)
 {
     _organisationsCommand             = organisationsCommand;
     _organisationsQuery               = organisationsQuery;
     _loginCredentialsQuery            = loginCredentialsQuery;
     _administratorsQuery              = administratorsQuery;
     _employerAccountsCommand          = employerAccountsCommand;
     _employersQuery                   = employersQuery;
     _executeOrganisationSearchCommand = executeOrganisationSearchCommand;
     _communitiesQuery                 = communitiesQuery;
     _industriesQuery                  = industriesQuery;
     _phoneNumbersQuery                = phoneNumbersQuery;
     _locationQuery       = locationQuery;
     _settingsQuery       = settingsQuery;
     _settingsCommand     = settingsCommand;
     _emailsCommand       = emailsCommand;
     _accountReportsQuery = accountReportsQuery;
 }
Пример #13
0
 public SettingsController(IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, IOrganisationsQuery organisationsQuery, IPhoneNumbersQuery phoneNumbersQuery, IIndustriesQuery industriesQuery, ILoginCredentialsCommand loginCredentialsCommand, ILoginCredentialsQuery loginCredentialsQuery, IAuthenticationManager authenticationManager, ICreditsQuery creditsQuery, IEmployerCreditsQuery employerCreditsQuery, IJobPostersCommand jobPostersCommand, IJobPostersQuery jobPostersQuery, INonMemberSettingsCommand nonMemberSettingsCommand, INonMemberSettingsQuery nonMemberSettingsQuery, ISettingsCommand settingsCommand, ISettingsQuery settingsQuery, ILinkedInCommand linkedInCommand, ILinkedInQuery linkedInQuery)
 {
     _employerAccountsCommand  = employerAccountsCommand;
     _authenticationManager    = authenticationManager;
     _creditsQuery             = creditsQuery;
     _employerCreditsQuery     = employerCreditsQuery;
     _jobPostersQuery          = jobPostersQuery;
     _nonMemberSettingsQuery   = nonMemberSettingsQuery;
     _settingsQuery            = settingsQuery;
     _linkedInQuery            = linkedInQuery;
     _linkedInCommand          = linkedInCommand;
     _nonMemberSettingsCommand = nonMemberSettingsCommand;
     _jobPostersCommand        = jobPostersCommand;
     _settingsCommand          = settingsCommand;
     _loginCredentialsCommand  = loginCredentialsCommand;
     _loginCredentialsQuery    = loginCredentialsQuery;
     _industriesQuery          = industriesQuery;
     _phoneNumbersQuery        = phoneNumbersQuery;
     _organisationsCommand     = organisationsCommand;
     _organisationsQuery       = organisationsQuery;
 }
Пример #14
0
 public ProfilesApiController(ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IResumesQuery resumesQuery, ICandidatesQuery candidatesQuery, IResumeFilesQuery resumeFilesQuery, IMemberStatusQuery memberStatusQuery, IEmailsCommand emailsCommand, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand, ICandidatesCommand candidatesCommand, ICandidateResumesCommand candidateResumesCommand, ICandidateResumeFilesCommand candidateResumeFilesCommand, IParseResumesCommand parseResumesCommand, IMemberPhotosCommand memberPhotosCommand, IFilesCommand filesCommand, IFilesQuery filesQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
 {
     _locationQuery               = locationQuery;
     _industriesQuery             = industriesQuery;
     _resumesQuery                = resumesQuery;
     _candidatesQuery             = candidatesQuery;
     _resumeFilesQuery            = resumeFilesQuery;
     _memberStatusQuery           = memberStatusQuery;
     _emailsCommand               = emailsCommand;
     _memberAccountsCommand       = memberAccountsCommand;
     _accountVerificationsCommand = accountVerificationsCommand;
     _candidatesCommand           = candidatesCommand;
     _candidateResumesCommand     = candidateResumesCommand;
     _candidateResumeFilesCommand = candidateResumeFilesCommand;
     _parseResumesCommand         = parseResumesCommand;
     _memberPhotosCommand         = memberPhotosCommand;
     _filesCommand                = filesCommand;
     _filesQuery      = filesQuery;
     _settingsQuery   = settingsQuery;
     _settingsCommand = settingsCommand;
 }
Пример #15
0
 public UserEmailsQuery(ISettingsQuery settingsQuery, IRecruitersQuery recruitersQuery)
 {
     _settingsQuery   = settingsQuery;
     _recruitersQuery = recruitersQuery;
 }