コード例 #1
0
 public ExternalSystemService(
     IExternalSystemRepository repository,
     IExternalSystemFactory externalSystemFactory
     )
 {
     _repository            = repository;
     _externalSystemFactory = externalSystemFactory;
 }
コード例 #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);
 }
コード例 #4
0
 public ExternalSystemStrategy(IExternalSystemRepository externalSystemRepository,
                               IMapper mapper)
 {
     _externalSystemRepository = externalSystemRepository;
     _mapper = mapper;
 }