Example #1
0
 public GetCandidateVacancyDetailStrategy(
     ILogService logger,
     IVacancyDataProvider <TVacancyDetail> vacancyDataProvider)
 {
     _logger = logger;
     _vacancyDataProvider = vacancyDataProvider;
 }
Example #2
0
 public LegacyQueueApprenticeshipApplicationSubmittedStrategy(IVacancyDataProvider <ApprenticeshipVacancyDetail> vacancyDataProvider, IApprenticeshipApplicationReadRepository apprenticeshipApplicationReadRepository, ICandidateReadRepository candidateReadRepository, ISendCandidateCommunicationStrategy queueCommunicationRequestStrategy)
 {
     _vacancyDataProvider = vacancyDataProvider;
     _apprenticeshipApplicationReadRepository = apprenticeshipApplicationReadRepository;
     _candidateReadRepository            = candidateReadRepository;
     _sendCandidateCommunicationStrategy = queueCommunicationRequestStrategy;
 }
 public CreateTraineeshipApplicationStrategy(
     IVacancyDataProvider <TraineeshipVacancyDetail> vacancyDataProvider,
     ICandidateReadRepository candidateReadRepository)
 {
     _vacancyDataProvider     = vacancyDataProvider;
     _candidateReadRepository = candidateReadRepository;
 }
Example #4
0
 public CheckNasGateway(IVacancyIndexDataProvider vacancyIndexDataProvider,
                        IVacancyDataProvider <ApprenticeshipVacancyDetail> vacancyDataProvider, ILogService logger)
 {
     _vacancyIndexDataProvider = vacancyIndexDataProvider;
     _vacancyDataProvider      = vacancyDataProvider;
     _logger = logger;
 }
Example #5
0
 public QueueTraineeshipApplicationSubmittedStrategy(IVacancyDataProvider <TraineeshipVacancyDetail> vacancyDataProvider, ICandidateReadRepository candidateReadRepository, ITraineeshipApplicationReadRepository traineeshipApplicationReadRepository, ISendCandidateCommunicationStrategy queueCommunicationRequestStrategy)
 {
     _vacancyDataProvider     = vacancyDataProvider;
     _candidateReadRepository = candidateReadRepository;
     _traineeshipApplicationReadRepository = traineeshipApplicationReadRepository;
     _sendCandidateCommunicationStrategy   = queueCommunicationRequestStrategy;
 }
Example #6
0
 public CreateApprenticeshipApplicationStrategy(
     IVacancyDataProvider <ApprenticeshipVacancyDetail> vacancyDataProvider,
     IApprenticeshipApplicationReadRepository apprenticeshipApplicationReadRepository,
     IApprenticeshipApplicationWriteRepository apprenticeshipApplicationWriteRepository,
     ICandidateReadRepository candidateReadRepository)
 {
     _vacancyDataProvider = vacancyDataProvider;
     _apprenticeshipApplicationWriteRepository = apprenticeshipApplicationWriteRepository;
     _apprenticeshipApplicationReadRepository  = apprenticeshipApplicationReadRepository;
     _candidateReadRepository = candidateReadRepository;
 }
 public LegacyGetCandidateVacancyDetailStrategy(
     IVacancyDataProvider <TVacancyDetail> vacancyDataProvider,
     IApplicationVacancyUpdater applicationVacancyUpdater,
     ILogService logger,
     IMessageBus bus)
 {
     _bus = bus;
     _vacancyDataProvider       = vacancyDataProvider;
     _applicationVacancyUpdater = applicationVacancyUpdater;
     _logger = logger;
 }
 public ApprenticeshipVacancySuggestionsStrategy(
     IVacancySearchService <ApprenticeshipSearchResponse, ApprenticeshipVacancyDetail, ApprenticeshipSearchParameters> searchService,
     IVacancyDataProvider <ApprenticeshipVacancyDetail> vacancyDataProvider,
     ILocationSearchService locationSearchService,
     IReferenceDataService referenceDataService)
 {
     _searchService         = searchService;
     _vacancyDataProvider   = vacancyDataProvider;
     _locationSearchService = locationSearchService;
     _referenceDataService  = referenceDataService;
 }
Example #9
0
        internal DataManufacturer()
        {
            _configurationManager = new ConfigurationManager();
            var userMappers = new UserMappers();

            _userRepository = new UserRepository(_configurationManager, userMappers);

            var candidateMappers = new CandidateMappers();

            _candidateWriteRepository = new CandidateRepository(_configurationManager, candidateMappers);
            _vacancyDataProvider      = new FakeVacancyDataProvider();

            var applicationMappers = new ApplicationMappers();

            _applicationRepository = new ApplicationRepository(_configurationManager, applicationMappers);
        }
 public VacancySearchService(IVacancySearchProvider <TVacancySummaryResponse, TSearchParameters> vacancySearchProvider, IVacancyDataProvider <TVacancyDetail> vacancyDataProvider, ILogService logger)
 {
     _vacancySearchProvider = vacancySearchProvider;
     _vacancyDataProvider   = vacancyDataProvider;
     _logger = logger;
 }
 public CachedLegacyVacancyDataProvider(ICacheService cacheService, IVacancyDataProvider <TVacancyDetail> vacancyDataProvider, ILogService logger)
 {
     _cacheService        = cacheService;
     _vacancyDataProvider = vacancyDataProvider;
     _logger = logger;
 }