Exemplo n.º 1
0
            public IHttpPipelineHandler Join(IHttpPipelineHandler downstream)
            {
                _builder.Use(_accessPoint.Combine(downstream));
                var logger = _builder.ApplicationServices.GetService <ILogger <AspNetCoreCombinator> >();

                if (logger != null)
                {
                    logger.LogInformation("http pipeline injected.");
                }

                return(null);
            }
Exemplo n.º 2
0
 public IHttpPipelineHandler Join(IHttpPipelineHandler downstream)
 {
     _combinedAction(Combined = _accessPoint.Combine(downstream));
     return(null);
 }