public GenericController(ILogger log, HttpRequestParser httpRequestParser, IReceiveHttpCommand commandReceiver, IReceiveHttpQuery queryReceiver, IReceiveHttpEvent eventReceiver)
 {
     _log = log;
     _httpRequestParser = httpRequestParser;
     _commandReceiver   = commandReceiver;
     _queryReceiver     = queryReceiver;
     _eventReceiver     = eventReceiver;
     _httpRequestParser = httpRequestParser;
 }
 public TestController(IClock clock, IReceiveHttpCommand receiver)
 {
     _clock    = clock;
     _receiver = receiver;
 }
示例#3
0
 public HttpCommandReceiverCorrelationBehavior(ILogger log, IHttpContextAccessor httpContextAccessor, IOptions <HttpRequestOptions> httpRequestOptions, Correlation correlation, IReceiveHttpCommand next)
     : base(log, httpContextAccessor, httpRequestOptions, correlation)
 {
     _next = next;
 }