public WebHookHandlerRegistry(IWebHookHandlerResolver webHookHandlerResolver,
                               IGitHubClientFactory gitHubClientFactory, IHttpContextAccessor httpContextAccessor)
 {
     _webHookHandlerResolver = webHookHandlerResolver;
     _gitHubClientFactory    = gitHubClientFactory;
     _httpContextAccessor    = httpContextAccessor;
 }
예제 #2
0
        public WebHookHandlerResolverTests()
        {
            var webHookHandlerFaker = new WebHookHandlerFaker();
            var handlers            = webHookHandlerFaker.Generate(10);

            _sut = new WebHookHandlerResolver(handlers);
        }