Пример #1
0
 public StubMatcherMiddleware(RequestDelegate next, ICommandDispatcher commandDispatcher,
                              IQueryDispatcher queryDispatcher, IOptions <StubblApiOptions> stubblApiOptions)
 {
     _next              = next;
     _stubblApiOptions  = stubblApiOptions.Value;
     _commandDispatcher = commandDispatcher;
     _queryDispatcher   = queryDispatcher;
 }
Пример #2
0
 public PingController(IOptions <StubblApiOptions> stubblApiOptions)
 {
     _stubblApiOptions = stubblApiOptions.Value;
 }
Пример #3
0
 public CanaryController(IQueryDispatcher queryDispatcher,
                         IOptions <StubblApiOptions> stubblApiOptions)
 {
     _queryDispatcher  = queryDispatcher;
     _stubblApiOptions = stubblApiOptions.Value;
 }