예제 #1
0
 protected ResumeSearchAlertsTask(IExecuteMemberSearchCommand executeMemberSearchCommand, IMemberSearchesQuery memberSearchesQuery, IMemberSearchAlertsCommand memberSearchAlertsCommand, IMemberSearchAlertsQuery memberSearchAlertsQuery, IEmployersQuery employersQuery, AlertType alertType)
     : base(EventSource)
 {
     _executeMemberSearchCommand = executeMemberSearchCommand;
     _memberSearchesQuery        = memberSearchesQuery;
     _memberSearchAlertsCommand  = memberSearchAlertsCommand;
     _memberSearchAlertsQuery    = memberSearchAlertsQuery;
     _employersQuery             = employersQuery;
     _alertType = alertType;
 }
예제 #2
0
        public void MemberSearchTestsInitialize()
        {
            Resolve <IDbConnectionFactory>().DeleteAllTestData();

            var connectionFactory = Resolve <IDataContextFactory>();
            var locationQuery     = Resolve <ILocationQuery>();
            var industriesQuery   = Resolve <IIndustriesQuery>();

            _repository            = new MembersRepository(connectionFactory, new MemberSearchCriteriaPersister(locationQuery, industriesQuery));
            _memberSearchesCommand = new MemberSearchesCommand(_repository);
            _memberSearchesQuery   = new MemberSearchesQuery(_repository);
        }
예제 #3
0
 public EmployersController(IEmployersQuery employersQuery, ILoginCredentialsQuery loginCredentialsQuery, ICandidateReportsQuery candidateReportsQuery, IMemberSearchesQuery memberSearchesQuery, IExecuteMemberSearchCommand executeMemberSearchCommand, IOrganisationsQuery organisationsQuery, IRecruitersQuery recruitersQuery, IUserAccountsQuery userAccountsQuery, IMemberSearchReportsQuery memberSearchReportsQuery, IEmployerMemberAccessReportsQuery employerMemberAccessReportsQuery)
 {
     _employersQuery                   = employersQuery;
     _loginCredentialsQuery            = loginCredentialsQuery;
     _candidateReportsQuery            = candidateReportsQuery;
     _memberSearchesQuery              = memberSearchesQuery;
     _executeMemberSearchCommand       = executeMemberSearchCommand;
     _organisationsQuery               = organisationsQuery;
     _recruitersQuery                  = recruitersQuery;
     _userAccountsQuery                = userAccountsQuery;
     _memberSearchReportsQuery         = memberSearchReportsQuery;
     _employerMemberAccessReportsQuery = employerMemberAccessReportsQuery;
 }
예제 #4
0
 public SearchController(IExecuteMemberSearchCommand executeMemberSearchCommand, IMemberSearchesCommand memberSearchesCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, IMemberSearchSuggestionsQuery memberSearchSuggestionsQuery, IMemberSearchesQuery memberSearchesQuery, ICandidateListsCommand candidateListsCommand, IEmployerCreditsQuery employerCreditsQuery, ILocationQuery locationQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IIndustriesQuery industriesQuery)
     : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery)
 {
     _memberSearchSuggestionsQuery = memberSearchSuggestionsQuery;
     _memberSearchesCommand        = memberSearchesCommand;
     _memberSearchesQuery          = memberSearchesQuery;
     _candidateListsCommand        = candidateListsCommand;
     _employerCreditsQuery         = employerCreditsQuery;
     _locationQuery    = locationQuery;
     _communitiesQuery = communitiesQuery;
     _verticalsQuery   = verticalsQuery;
     _industriesQuery  = industriesQuery;
 }
 public PushNotifyResumeSearchAlertsTask(IExecuteMemberSearchCommand executeMemberSearchCommand, IMemberSearchesQuery memberSearchesQuery, IMemberSearchAlertsCommand memberSearchAlertsCommand, IMemberSearchAlertsQuery memberSearchAlertsQuery, IEmployersQuery employersQuery, IPushNotificationsCommand pushNotificationsCommand, IPushDevicesFeedbackCommand pushDevicesFeedbackCommand)
     : base(executeMemberSearchCommand, memberSearchesQuery, memberSearchAlertsCommand, memberSearchAlertsQuery, employersQuery, AlertType.AppleDevice)
 {
     _pushNotificationsCommand   = pushNotificationsCommand;
     _pushDevicesFeedbackCommand = pushDevicesFeedbackCommand;
 }
예제 #6
0
 public EmailResumeSearchAlertsTask(IExecuteMemberSearchCommand executeMemberSearchCommand, IMemberSearchesQuery memberSearchesQuery, IMemberSearchAlertsCommand memberSearchAlertsCommand, IMemberSearchAlertsQuery memberSearchAlertsQuery, IEmployersQuery employersQuery, IEmailsCommand emailsCommand, IIndustriesQuery industriesQuery, IEmployerMemberViewsQuery employerMemberViewsQuery)
     : base(executeMemberSearchCommand, memberSearchesQuery, memberSearchAlertsCommand, memberSearchAlertsQuery, employersQuery, AlertType.Email)
 {
     _emailsCommand            = emailsCommand;
     _industriesQuery          = industriesQuery;
     _employerMemberViewsQuery = employerMemberViewsQuery;
 }
예제 #7
0
 public MemberSearchAlertsQuery(ISearchAlertsRepository repository, IMemberSearchesQuery memberSearchesQuery)
 {
     _repository          = repository;
     _memberSearchesQuery = memberSearchesQuery;
 }
예제 #8
0
 public SearchesController(IMemberSearchesQuery memberSearchesQuery)
 {
     _memberSearchesQuery = memberSearchesQuery;
 }