public InMemoryReceiveEndpointContext(IInMemoryReceiveEndpointConfiguration configuration, ISendTransportProvider sendTransportProvider) : base(configuration) { _sendTransportProvider = sendTransportProvider; _publish = configuration.Topology.Publish; }
public InMemoryReceiveEndpointContext(IInMemoryReceiveEndpointConfiguration configuration, ISendTransportProvider sendTransportProvider, ReceiveObservable receiveObservers, ReceiveTransportObservable transportObservers, ReceiveEndpointObservable endpointObservers) : base(configuration, receiveObservers, transportObservers, endpointObservers) { _sendTransportProvider = sendTransportProvider; _publish = configuration.Topology.Publish; }
public Mediator(ILogContext logContext, IReceiveEndpointConfiguration configuration, IReceivePipeDispatcher dispatcher, IInMemoryReceiveEndpointConfiguration responseConfiguration, IReceivePipeDispatcher responseDispatcher) { var sendObservable = new SendObservable(); _endpoint = new MediatorSendEndpoint(configuration, dispatcher, logContext, sendObservable, responseConfiguration, responseDispatcher); var clientFactoryContext = new MediatorClientFactoryContext(_endpoint, responseConfiguration.ConsumePipe, responseConfiguration.InputAddress); _clientFactory = new ClientFactory(clientFactoryContext); }
public InMemoryReceiveEndpointBuilder(IInMemoryHostConfiguration hostConfiguration, IInMemoryReceiveEndpointConfiguration configuration) : base(configuration) { _hostConfiguration = hostConfiguration; _configuration = configuration; }
public InMemoryReceiveEndpointContext(IInMemoryHostConfiguration hostConfiguration, IInMemoryReceiveEndpointConfiguration configuration) : base(hostConfiguration, configuration) { _hostConfiguration = hostConfiguration; }