Пример #1
0
 public ReviewSummaryService(IRecruitVacancyClient vacancyClient,
                             ReviewFieldIndicatorMapper fieldMappingsLookup, IQaVacancyClient qaVacancyClient)
 {
     _vacancyClient       = vacancyClient;
     _fieldMappingsLookup = fieldMappingsLookup;
     _qaVacancyClient     = qaVacancyClient;
 }
Пример #2
0
 public DashboardOrchestrator(
     IQaVacancyClient vacancyClient, ITimeProvider timeProvider, UserAuthorizationService userAuthorizationService)
 {
     _vacancyClient            = vacancyClient;
     _timeProvider             = timeProvider;
     _userAuthorizationService = userAuthorizationService;
 }
        private ApplicationsReportOrchestrator GetOrchestrator(IQaVacancyClient client, string todayDate)
        {
            var timeProvider = new Mock <ITimeProvider>();

            var today = DateTimeOffset.Parse(todayDate).UtcDateTime;

            timeProvider.Setup(t => t.Today).Returns(today);
            timeProvider.Setup(t => t.NextDay).Returns(today.AddDays(1));

            return(new ApplicationsReportOrchestrator(client, timeProvider.Object));
        }
Пример #4
0
 public ReviewMapper(ILogger <ReviewMapper> logger,
                     IQaVacancyClient vacancyClient,
                     IGeocodeImageService mapService,
                     IRuleMessageTemplateRunner ruleTemplateRunner,
                     IReviewSummaryService reviewSummaryService)
 {
     _logger               = logger;
     _vacancyClient        = vacancyClient;
     _mapService           = mapService;
     _qualifications       = new Lazy <IList <string> >(() => _vacancyClient.GetCandidateQualificationsAsync().Result.QualificationTypes);
     _ruleTemplateRunner   = ruleTemplateRunner;
     _reviewSummaryService = reviewSummaryService;
 }
 protected ReportOrchestratorBase(ILogger logger, IQaVacancyClient client)
 {
     _logger = logger;
     _client = client;
 }
Пример #6
0
 public ApplicationsReportOrchestrator(IQaVacancyClient client, ITimeProvider timeProvider)
 {
     _client       = client;
     _timeProvider = timeProvider;
 }
 public ReportDashboardOrchestrator(ILogger <ReportDashboardOrchestrator> logger, IQaVacancyClient vacancyClient)
     : base(logger, vacancyClient)
 {
     _vacancyClient = vacancyClient;
 }
 public ReviewOrchestrator(IQaVacancyClient vacancyClient, ReviewMapper mapper, IMessaging messaging)
 {
     _vacancyClient = vacancyClient;
     _mapper        = mapper;
     _messaging     = messaging;
 }
 public ReportConfirmationOrchestrator(ILogger <ReportConfirmationOrchestrator> logger, IQaVacancyClient client) : base(logger, client)
 {
 }
Пример #10
0
 public ReviewOrchestrator(IQaVacancyClient vacancyClient, ReviewMapper mapper)
 {
     _vacancyClient = vacancyClient;
     _mapper        = mapper;
 }
 public WithdrawVacancyOrchestrator(IQaVacancyClient vacancyClient, IMessaging messaging)
 {
     _vacancyClient = vacancyClient;
     _messaging     = messaging;
 }
Пример #12
0
 public TestReportOrchestrator(ILogger logger, IQaVacancyClient client) : base(logger, client)
 {
 }