public InventoryController( HPlusSportsDbContext context, MediatR.IMediator mediator) { _context = context; _mediator = mediator; }
public ApplicationEventBus( MediatR.IMediator mediator, IPublishEndpoint publishEndpoint) { _mediator = mediator; this._publishEndpoint = publishEndpoint; }
public ResultQuizCommandHandler(ILogger <ResultQuizCommandHandler> logger, IMediator mediator, ISendEndpointProvider sendEndpointProvider, ICheckResultService checkResultService, IRepository <Quiz> quizRepository, IMapper mapper) { _logger = logger; _mediator = mediator; _sendEndpointProvider = sendEndpointProvider; _checkResultService = checkResultService; _quizRepository = quizRepository; _mapper = mapper; }
private FakeCaseJobServer() { _factory = new FakeHttpClientFactory(); var serviceCollection = new ServiceCollection(); serviceCollection.AddCaseApi(callback: opt => { opt.WSHumanTaskAPI = "http://localhost"; }); serviceCollection.AddSingleton <IHttpClientFactory>(_factory); serviceCollection.AddMassTransitHostedService(); _serviceProvider = serviceCollection.BuildServiceProvider(); _casePlanInstanceCommandRepository = _serviceProvider.GetRequiredService <ICasePlanInstanceCommandRepository>(); _mediator = _serviceProvider.GetRequiredService <MediatR.IMediator>(); _busControl = _serviceProvider.GetRequiredService <IBusControl>(); }
public EventBus(IMediator mediator) { _mediator = mediator; }
public HomeController(IMediator mediator) { _mediator = mediator; }
public BehaviourRiskController(IMediator mediator) { _mediator = mediator; }
public HivPartnerProfileController(IMediator mediator) { _mediator = mediator; }
public ChromeZoneContext(DbContextOptions <ChromeZoneContext> options, MediatR.IMediator mediator) : base(options) { _mediator = mediator; }
public MediatRAdapter(MediatR.IMediator mediator) { this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); }
public Mediator(MediatR.IMediator mediator) { _mediator = mediator; }
protected BaseContext(DbContextOptions <T> options, MediatR.IMediator mediator, IIntegrationEventSender sender) : base(options) { _mediator = mediator; _senders = sender; }
protected BaseContext(DbContextOptions <T> options, MediatR.IMediator mediator) : base(options) { _mediator = mediator; }