public PushNotificationsCommand(string p12FileName, string p12Password, bool sandbox, IAppleDevicesQuery appleDevicesQuery, IMemberSearchAlertsQuery memberSearchAlertsQuery, IMemberSearchAlertsCommand memberSearchAlertsCommand, IMembersQuery membersQuery, ICandidatesQuery candidatesQuery, IResumesQuery resumesQuery)
        {
            _p12FileName = string.Format(".\\{0}", p12FileName);
            _p12Password = p12Password;
            _sandbox     = sandbox;

            _memberSearchAlertsQuery = memberSearchAlertsQuery;
            _appleDevicesQuery       = appleDevicesQuery;
            _membersQuery            = membersQuery;
            _candidatesQuery         = candidatesQuery;
            _resumesQuery            = resumesQuery;

            _memberSearchAlertsCommand = memberSearchAlertsCommand;

            CreateService();
        }
Beispiel #2
0
        public Worker(ICandidatesWorkflowCommand workflowCommand, IExecuteJobAdSearchCommand searchCommand, IJobAdsQuery jobAdsQuery, IEmailsCommand emailsCommand, IMembersQuery membersQuery, IUserAccountsQuery userAccountsQuery)
        {
            _workflowCommand    = workflowCommand;
            _jobAdSearchCommand = searchCommand;
            _jobAdsQuery        = jobAdsQuery;
            _emailsCommand      = emailsCommand;
            _membersQuery       = membersQuery;
            _userAccountsQuery  = userAccountsQuery;

            MaxResults = 10; // default
        }
Beispiel #3
0
 public FriendsFilesController(IMembersQuery membersQuery, IFilesQuery filesQuery)
 {
     _membersQuery = membersQuery;
     _filesQuery   = filesQuery;
 }
 public MaintainMembersController(IUserAccountsCommand userAccountsCommand, ILoginCredentialsCommand loginCredentialsCommand, ILoginCredentialsQuery loginCredentialsQuery, IMembersQuery membersQuery, IAdministrativeMemberSearchCommand administrativeMemberSearchCommand, IEmailsCommand emailsCommand)
 {
     _userAccountsCommand               = userAccountsCommand;
     _loginCredentialsCommand           = loginCredentialsCommand;
     _loginCredentialsQuery             = loginCredentialsQuery;
     _membersQuery                      = membersQuery;
     _administrativeMemberSearchCommand = administrativeMemberSearchCommand;
     _emailsCommand                     = emailsCommand;
 }
Beispiel #5
0
 public JobAdApplicantsQuery(IApplicationsQuery applicationsQuery, IContenderListsCommand contendersListCommand, IContenderListsQuery contenderListsQuery, IMembersQuery membersQuery, ICandidateBlockListsQuery blockListsQuery)
     : base(contendersListCommand, contenderListsQuery)
 {
     _applicationsQuery = applicationsQuery;
     _membersQuery      = membersQuery;
     _blockListsQuery   = blockListsQuery;
 }
Beispiel #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;
 }
Beispiel #7
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;
 }
Beispiel #8
0
        public JobAdSearchService(ResourceLoader resourceLoader, IJobAdSearchBooster booster, IJobAdSearchEngineQuery searchEngineQuery, IJobAdsQuery jobAdsQuery, IEmployersQuery employersQuery, IMembersQuery membersQuery, IResumesQuery resumesQuery, ICandidatesQuery candidatesQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IJobAdActivityFiltersQuery jobAdActivityFiltersQuery, IJobAdFlagListsQuery jobAdFlagListsQuery, IMemberApplicationsQuery memberApplicationsQuery)
            : base(EventSource, searchEngineQuery, DefaultIndexFolder)
        {
            _jobAdsQuery               = jobAdsQuery;
            _employersQuery            = employersQuery;
            _membersQuery              = membersQuery;
            _resumesQuery              = resumesQuery;
            _candidatesQuery           = candidatesQuery;
            _memberApplicationsQuery   = memberApplicationsQuery;
            _jobAdActivityFiltersQuery = jobAdActivityFiltersQuery;

            var analyzerFactory = new AnalyzerFactory(resourceLoader);

            _contentAnalyzer   = analyzerFactory.CreateContentAnalyzer();
            _indexer           = new Indexer(_contentAnalyzer, analyzerFactory.CreateQueryAnalyzer(), booster, locationQuery, industriesQuery, jobAdFlagListsQuery);
            _spellCheckHandler = new SpellCheckHandler(analyzerFactory.CreateSpellingAnalyzer(), FieldName.ContentExact);
        }
Beispiel #9
0
 public JobAdsHandler(IMemberApplicationsQuery memberApplicationsQuery, IJobAdsQuery jobAdsQuery, IJobAdProcessingQuery jobAdProcessingQuery, IMembersQuery membersQuery, IEmployersQuery employersQuery, IEmployerMemberViewsQuery employerMemberViewsQuery, IResumesQuery resumesQuery, IResumeFilesQuery resumeFilesQuery, IFilesQuery filesQuery, IEmailsCommand emailsCommand)
 {
     _memberApplicationsQuery  = memberApplicationsQuery;
     _jobAdsQuery              = jobAdsQuery;
     _jobAdProcessingQuery     = jobAdProcessingQuery;
     _membersQuery             = membersQuery;
     _employersQuery           = employersQuery;
     _employerMemberViewsQuery = employerMemberViewsQuery;
     _resumesQuery             = resumesQuery;
     _resumeFilesQuery         = resumeFilesQuery;
     _filesQuery    = filesQuery;
     _emailsCommand = emailsCommand;
 }
Beispiel #10
0
 public EmailJobSearchAlertsTask(IEmailsCommand emailsCommand, IJobAdsQuery jobAdsQuery, IExecuteJobAdSearchCommand executeJobAdSearchCommand, IJobAdSearchAlertsCommand jobAdSearchAlertsCommand, IJobAdSearchAlertsQuery jobAdSearchAlertsQuery, IJobAdSearchesQuery jobAdSearchesQuery, IMembersQuery membersQuery, IAnonymousUsersQuery anonymousUsersQuery)
     : base(EventSource, emailsCommand)
 {
     _jobAdsQuery = jobAdsQuery;
     _executeJobAdSearchCommand = executeJobAdSearchCommand;
     _jobAdSearchAlertsCommand  = jobAdSearchAlertsCommand;
     _jobAdSearchAlertsQuery    = jobAdSearchAlertsQuery;
     _jobAdSearchesQuery        = jobAdSearchesQuery;
     _membersQuery        = membersQuery;
     _anonymousUsersQuery = anonymousUsersQuery;
 }
Beispiel #11
0
 public MembersController(IFilesQuery filesQuery, IEmployerMemberAccessReportsQuery employerMemberAccessReportsQuery, IMembersQuery membersQuery, ICandidatesQuery candidatesQuery, IResumesQuery resumesQuery, IMemberStatusQuery memberStatusQuery, IJobAdSearchesQuery jobAdSearchesQuery, IExecuteJobAdSearchCommand executeJobAdSearchCommand, IJobAdsQuery jobAdsQuery, IJobAdReportsQuery jobAdReportsQuery, IMemberApplicationsQuery memberApplicationsQuery, IEmailVerificationsCommand emailVerificationsCommand, IEmailVerificationsQuery emailVerificationsQuery)
 {
     _filesQuery = filesQuery;
     _employerMemberAccessReportsQuery = employerMemberAccessReportsQuery;
     _membersQuery              = membersQuery;
     _candidatesQuery           = candidatesQuery;
     _resumesQuery              = resumesQuery;
     _memberStatusQuery         = memberStatusQuery;
     _jobAdSearchesQuery        = jobAdSearchesQuery;
     _executeJobAdSearchCommand = executeJobAdSearchCommand;
     _jobAdsQuery               = jobAdsQuery;
     _jobAdReportsQuery         = jobAdReportsQuery;
     _memberApplicationsQuery   = memberApplicationsQuery;
     _emailVerificationsCommand = emailVerificationsCommand;
     _emailVerificationsQuery   = emailVerificationsQuery;
 }
Beispiel #12
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;
 }