Ejemplo n.º 1
0
 public PreValidationOrchestrationSfService(
     IPopulationService preValidationPopulationService,
     ICache <IMessage> messageCache,
     ILearnerPerActorService learnerPerActorService,
     IJsonSerializationService jsonSerializationService,
     IInternalDataCache internalDataCache,
     IExternalDataCache externalDataCache,
     IFileDataCache fileDataCache,
     IValidationErrorCache <U> validationErrorCache,
     IValidationOutputService <U> validationOutputService,
     IValidationItemProviderService <IEnumerable <IMessage> > validationItemProviderService,
     IRuleSetOrchestrationService <IMessage, U> ruleSetOrchestrationService,
     ILogger logger,
     IValidateXMLSchemaService validateXMLSchemaService)
 {
     _preValidationPopulationService = preValidationPopulationService;
     _learnerPerActorService         = learnerPerActorService;
     _messageCache                  = messageCache;
     _jsonSerializationService      = jsonSerializationService;
     _internalDataCache             = internalDataCache;
     _externalDataCache             = externalDataCache;
     _fileDataCache                 = fileDataCache;
     _validationErrorCache          = validationErrorCache;
     _validationOutputService       = validationOutputService;
     _validationItemProviderService = validationItemProviderService;
     _ruleSetOrchestrationService   = ruleSetOrchestrationService;
     _logger = logger;
     _validateXmlSchemaService = validateXMLSchemaService;
 }
Ejemplo n.º 2
0
 public void Setup()
 {
     _chromosomeService = new ChromosomeService();
     _populationService = new PopulationService(_chromosomeService);
     _matrixService     = new MatrixService(new GraphConsistentService());
     _sut = new EvolutionService(_chromosomeService);
 }
Ejemplo n.º 3
0
 private PreValidationOrchestrationSfService NewService(
     IPopulationService preValidationPopulationService,
     IFileProvider <Message> messageProvider,
     IFileProvider <ReferenceDataRoot> referenceDataRootProvider,
     IFileProvider <LearnerReferenceData> learnerReferenceDataProvider,
     IValidationErrorCache validationErrorCache,
     IValidationOutputService validationOutputService,
     IValidIlrFileOutputService validIlrFileOutputService,
     IRuleSetOrchestrationService <IRule <IMessage>, IMessage> messageRuleSetOrchestrationService,
     IRuleSetOrchestrationService <ICrossYearRule <ILearner>, ILearner> crossYearRuleSetOrchestrationService,
     IValidationExecutionProvider validationExecutionProvider)
 {
     return(new PreValidationOrchestrationSfService(
                preValidationPopulationService,
                messageProvider,
                referenceDataRootProvider,
                learnerReferenceDataProvider,
                validationErrorCache,
                validationOutputService,
                validIlrFileOutputService,
                messageRuleSetOrchestrationService,
                crossYearRuleSetOrchestrationService,
                validationExecutionProvider,
                Mock.Of <ILogger>()));
 }
 public PreValidationOrchestrationSfService(
     IPopulationService preValidationPopulationService,
     IErrorLookupPopulationService errorLookupPopulationService,
     ILearnerPerActorProviderService learnerPerActorProviderService,
     ILearnerDPPerActorProviderService learnerDPPerActorProviderService,
     IJsonSerializationService jsonSerializationService,
     IInternalDataCache internalDataCache,
     IExternalDataCache externalDataCache,
     IFileDataCache fileDataCache,
     IValidationErrorCache <U> validationErrorCache,
     IValidationOutputService validationOutputService,
     IRuleSetOrchestrationService <IMessage, U> ruleSetOrchestrationService,
     ILogger logger)
 {
     _preValidationPopulationService   = preValidationPopulationService;
     _errorLookupPopulationService     = errorLookupPopulationService;
     _learnerPerActorProviderService   = learnerPerActorProviderService;
     _learnerDPPerActorProviderService = learnerDPPerActorProviderService;
     _jsonSerializationService         = jsonSerializationService;
     _internalDataCache           = internalDataCache;
     _externalDataCache           = externalDataCache;
     _fileDataCache               = fileDataCache;
     _validationErrorCache        = validationErrorCache;
     _validationOutputService     = validationOutputService;
     _ruleSetOrchestrationService = ruleSetOrchestrationService;
     _logger = logger;
 }
 public PreValidationOrchestrationSfService(
     IPopulationService preValidationPopulationService,
     IFileProvider <Message> messageProvider,
     IFileProvider <ReferenceDataRoot> referenceDataRootProvider,
     IFileProvider <LearnerReferenceData> learnerReferenceDataProvider,
     IValidationErrorCache validationErrorCache,
     IValidationOutputService validationOutputService,
     IValidIlrFileOutputService validIlrFileOutputService,
     IRuleSetOrchestrationService <IRule <IMessage>, IMessage> messageRuleSetOrchestrationService,
     IRuleSetOrchestrationService <ICrossYearRule <ILearner>, ILearner> crossYearRuleSetOrchestrationService,
     IValidationExecutionProvider validationExecutionProvider,
     ILogger logger)
 {
     _preValidationPopulationService = preValidationPopulationService;
     _messageProvider                      = messageProvider;
     _referenceDataRootProvider            = referenceDataRootProvider;
     _learnerReferenceDataProvider         = learnerReferenceDataProvider;
     _validationErrorCache                 = validationErrorCache;
     _validationOutputService              = validationOutputService;
     _validIlrFileOutputService            = validIlrFileOutputService;
     _messageRuleSetOrchestrationService   = messageRuleSetOrchestrationService;
     _crossYearRuleSetOrchestrationService = crossYearRuleSetOrchestrationService;
     _validationExecutionProvider          = validationExecutionProvider;
     _logger = logger;
 }
Ejemplo n.º 6
0
 public SimulationService(ISimulationRepository simulationRepository, IPopulationService populationService,
                          IStrategyService strategyService, ISimulationSettingsProvider simulationSettingsProdiver)
 {
     _populationService    = populationService;
     _simulationRepository = simulationRepository;
     _strategyService      = strategyService;
     _simulationSettings   = simulationSettingsProdiver.GetSimulationSettings();
 }
Ejemplo n.º 7
0
 public TaskProviderService(IKeyValuePersistenceService keyValuePersistenceService, IPopulationService populationService, IPagingService <ILearner> learnerPerActorService, IFundingService <ILearner, FM35Global> fundingService, IJsonSerializationService jsonSerializationService)
 {
     _keyValuePersistenceService = keyValuePersistenceService;
     _populationService          = populationService;
     _learnerPerActorService     = learnerPerActorService;
     _fundingService             = fundingService;
     _jsonSerializationService   = jsonSerializationService;
 }
 public ValidationController(
     ILooseValidatorCommand looseValidatorCommand,
     IList <IValidatorCommand> validatorCommands,
     IPopulationService populationService,
     ISupplementaryDataModelMapper mapper)
 {
     _looseValidatorCommand = looseValidatorCommand;
     _validatorCommands     = validatorCommands.OrderBy(c => c.Priority).ToList();
     _populationService     = populationService;
     _mapper = mapper;
 }
 public ConsolePreValidationOrchestrationService(
     IPopulationService preValidationPopulationService,
     IRuleSetOrchestrationService <ILearner, U> learnerRuleSetOrchestrationService,
     IRuleSetOrchestrationService <IMessage, U> messageRuleSetOrchestrationService,
     IValidationOutputService validationOutputService,
     IFileDataCache fileDataCache)
 {
     _preValidationPopulationService     = preValidationPopulationService;
     _learnerRuleSetOrchestrationService = learnerRuleSetOrchestrationService;
     _messageRuleSetOrchestrationService = messageRuleSetOrchestrationService;
     _validationOutputService            = validationOutputService;
     _fileDataCache = fileDataCache;
 }
Ejemplo n.º 10
0
 public StudentRegistrationService(
     IPeopleService peopleService,
     IPopulationService populationService,
     IUserService userService,
     IMapper mapper,
     ISMSDbContextGenericRepository <StudentInformation> studentRepo,
     IEMPublisher eventPublisher
     )
 {
     _peopleService     = peopleService;
     _populationService = populationService;
     _userService       = userService;
     _mapper            = mapper;
     _studentRepo       = studentRepo;
     _eventPublisher    = eventPublisher;
 }
 public PreFundingSFOrchestrationService(
     IJsonSerializationService jsonSerializationService,
     IIlrFileProviderService ilrFileProviderService,
     IFundingServiceDto fundingServiceDto,
     IPopulationService populationService,
     IActorTask <IALBActor, ALBGlobal> albActorTask,
     IActorTask <IFM81Actor, FM81Global> fm81ActorTask,
     IActorTask <IFM70Actor, FM70Global> fm70ActorTask,
     IActorTask <IFM35Actor, FM35Global> fm35ActorTask,
     IActorTask <IFM36Actor, FM36Global> fm36ActorTask,
     IActorTask <IFM25Actor, FM25Global> fm25ActorTask,
     IKeyValuePersistenceService keyValuePersistenceService,
     IPagingService <ILearner> learnerPagingService,
     IExternalDataCache externalDataCache,
     IInternalDataCache internalDataCache,
     IFileDataCache fileDataCache,
     ITopicAndTaskSectionConfig topicAndTaskSectionConfig,
     ILogger logger)
 {
     _jsonSerializationService   = jsonSerializationService;
     _ilrFileProviderService     = ilrFileProviderService;
     _fundingServiceDto          = fundingServiceDto;
     _populationService          = populationService;
     _albActorTask               = albActorTask;
     _fm81ActorTask              = fm81ActorTask;
     _fm70ActorTask              = fm70ActorTask;
     _fm35ActorTask              = fm35ActorTask;
     _fm36ActorTask              = fm36ActorTask;
     _fm25ActorTask              = fm25ActorTask;
     _keyValuePersistenceService = keyValuePersistenceService;
     _externalDataCache          = externalDataCache;
     _internalDataCache          = internalDataCache;
     _fileDataCache              = fileDataCache;
     _learnerPagingService       = learnerPagingService;
     _topicAndTaskSectionConfig  = topicAndTaskSectionConfig;
     _logger = logger;
 }
 public ClinicianController(IClinicianService clinicianService, UserManager <ApplicationUser> userManager, IEnrollmentService enrollmentService, IAppointmentService appointmentService, IClinicianAvailabilityService clinicianAvailabilityService, IProfileService profileService, IServiceCostService serviceCostService, IProviderCategoryService providerCategoryService, IApplicantService applicantService, ILookUpService lookUpService, IApplicantDocumentService applicantDocumentService, IExpertiseService expertiseService, IClinicianDocumentService profileDocumentService, IEmailSender emailSender, IPopulationService populationService, ISpecialtyService specialtyService, IEducationService educationService, ILanguageService languageService, IPracticeService practiceService, IOtherActivitiesService otherActivitiesService, ILogger <ApplicantController> log, IClinicService clinicService)
 {
     _clinicianService             = clinicianService;
     _enrollmentService            = enrollmentService;
     _userManager                  = userManager;
     _appointmentService           = appointmentService;
     _clinicianAvailabilityService = clinicianAvailabilityService;
     _profileService               = profileService;
     _serviceCostService           = serviceCostService;
     _providerCategoryService      = providerCategoryService;
     _applicantService             = applicantService;
     _lookUpService                = lookUpService;
     _expertiseService             = expertiseService;
     _applicantDocumentService     = applicantDocumentService;
     _profileDocumentService       = profileDocumentService;
     _emailSender                  = emailSender;
     _specialtyService             = specialtyService;
     _populationService            = populationService;
     _educationService             = educationService;
     _languageService              = languageService;
     _practiceService              = practiceService;
     _otherActivitiesService       = otherActivitiesService;
     _clinicService                = clinicService;
 }
 public PopulationInformationController(IPopulationService populationService)
 {
     _populationService = populationService;
 }
 public PeopleService(ISMSDbContextGenericRepository <Person> personRepo, IPopulationService populationService, IMapper mapper)
 {
     _mapper            = mapper;
     _personRepo        = personRepo;
     _populationService = populationService;
 }
        // GET api/<controller>

        public PopulationController(IPopulationService populationService)
        {
            serviceCall = populationService;
        }