コード例 #1
0
 public GenericController(ILogger log, HttpRequestParser httpRequestParser, IReceiveHttpCommand commandReceiver, IReceiveHttpQuery queryReceiver, IReceiveHttpEvent eventReceiver)
 {
     _log = log;
     _httpRequestParser = httpRequestParser;
     _commandReceiver   = commandReceiver;
     _queryReceiver     = queryReceiver;
     _eventReceiver     = eventReceiver;
     _httpRequestParser = httpRequestParser;
 }
コード例 #2
0
 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;
 }