public AuthorizeBotActionRequestBehavior(
     IOptions <BotFeatureOptions> optionsProvider,
     ILogger <AuthorizeBotActionRequestBehavior <TRequest, TResult> > logger,
     IBotActionContextAccessor contextAccessor,
     IRequestHandlerFinder handlerFinder)
 {
     _optionsProvider = optionsProvider;
     _logger          = logger;
     _contextAccessor = contextAccessor;
     _handlerFinder   = handlerFinder;
 }
예제 #2
0
 public WrapExceptionsBehavior(IRequestHandlerFinder finder)
 {
     Finder = finder;
 }