public ExternalSystemService(
     IExternalSystemRepository repository,
     IExternalSystemFactory externalSystemFactory
     )
 {
     _repository            = repository;
     _externalSystemFactory = externalSystemFactory;
 }
Ejemplo n.º 2
0
 public JobCreatedEventHandler(IJobRepository jobRepository,
                               IJobPostRepository jobPostRepository,
                               IExternalSystemRepository externalSystemRepository,
                               IEventBus bus)
 {
     _jobRepository            = jobRepository;
     _jobPostRepository        = jobPostRepository;
     _externalSystemRepository = externalSystemRepository;
     _bus = bus;
 }
 public ExternalSystemServiceBuilder WithExternalSystemRepository(IExternalSystemRepository repository)
 {
     _repository = repository;
     return(this);
 }
 public ExternalSystemStrategy(IExternalSystemRepository externalSystemRepository,
                               IMapper mapper)
 {
     _externalSystemRepository = externalSystemRepository;
     _mapper = mapper;
 }