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