public SessionRouter(IQueryService[] queryServices, IHttpResponseWriter responseWriter, ISerializer serializer, IStreamingServer streamingServer) { _queryServices = queryServices; _responseWriter = responseWriter; _serializer = serializer; _streamingServer = streamingServer; }
public ApplicationMiddleware( IRouter router, MessageDeserializer messageDeserializer, IMessageBus messageBus, IErrorBus errorBus, IHttpResponseWriter responseWriter, IHttpErrorWriter errorWriter, ITracer tracer ) { this.router = router; this.messageDeserializer = messageDeserializer; this.messageBus = messageBus; this.errorBus = errorBus; this.responseWriter = responseWriter; this.errorWriter = errorWriter; this.tracer = tracer; }