public ExternalSystemService( IExternalSystemRepository repository, IExternalSystemFactory externalSystemFactory ) { _repository = repository; _externalSystemFactory = externalSystemFactory; }
public TimeRegService(IExternalSystemFactory externalSystemFactory, IExternalSystemValidatorFactory validatorFactory, ICurrentUserContext currentUserContext, IIntegrationService integrationService) { _externalSystemFactory = externalSystemFactory; _validatorFactory = validatorFactory; _currentUserContext = currentUserContext; _integrationService = integrationService; _integrationValidator = new TimeregIntegrationValidator(); Logger = NullLogger <TimeRegService> .Instance; }
public AbsenceService(IExternalSystemFactory externalSystemFactory, IIntegrationService integrationService, IAbsenceExportService absenceExportService, IExternalSystemValidatorFactory externalSystemValidatorFactory, IUnitService unitService) { _externalSystemFactory = externalSystemFactory; _integrationService = integrationService; _absenceExportService = absenceExportService; _externalSystemValidatorFactory = externalSystemValidatorFactory; _unitService = unitService; Logger = NullLogger <AbsenceService> .Instance; _integrationValidator = new TimeregIntegrationValidator(); }
public ExternalSystemServiceBuilder WithExternalSystemFactory(IExternalSystemFactory externalSystemFactory) { _externalSystemFactory = externalSystemFactory; return(this); }