public StubMatcherMiddleware(RequestDelegate next, ICommandDispatcher commandDispatcher, IQueryDispatcher queryDispatcher, IOptions <StubblApiOptions> stubblApiOptions) { _next = next; _stubblApiOptions = stubblApiOptions.Value; _commandDispatcher = commandDispatcher; _queryDispatcher = queryDispatcher; }
public PingController(IOptions <StubblApiOptions> stubblApiOptions) { _stubblApiOptions = stubblApiOptions.Value; }
public CanaryController(IQueryDispatcher queryDispatcher, IOptions <StubblApiOptions> stubblApiOptions) { _queryDispatcher = queryDispatcher; _stubblApiOptions = stubblApiOptions.Value; }