3 writes to ApplicationServices
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
482ApplicationServices = factoryContext.EndpointBuilder.ApplicationServices,
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
470ApplicationServices = builder.ApplicationServices,
Microsoft.AspNetCore.Routing (1)
RequestDelegateFilterPipelineBuilder.cs (1)
28ApplicationServices = options.EndpointBuilder.ApplicationServices
5 references to ApplicationServices
Microsoft.AspNetCore.Routing (2)
ValidationEndpointFilterFactory.cs (2)
26var options = context.ApplicationServices.GetService<IOptions<ValidationOptions>>()?.Value; 32var serviceProviderIsService = context.ApplicationServices.GetService<IServiceProviderIsService>();
Microsoft.AspNetCore.Routing.Tests (3)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (3)
877Assert.NotNull(routeHandlerContext.ApplicationServices); 1000Assert.NotNull(rhc.ApplicationServices); 1001var myService = rhc.ApplicationServices.GetRequiredService<MyService>();