16 implementations of ServiceProvider
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.OpenApi.Tests (1)
Microsoft.AspNetCore.Routing (2)
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
62 references to ServiceProvider
IntegrationTestsWebsite (1)
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Identity (4)
Microsoft.AspNetCore.Mvc.Core (9)
Microsoft.AspNetCore.Mvc.RazorPages (9)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OpenApi.Microbenchmarks (7)
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiDocumentServiceTestsBase.cs (8)
36var scopedService = ((TestServiceProvider)builder.ServiceProvider).CreateScope();
88((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService;
89var documentService = new OpenApiDocumentService("Test", apiDescriptionGroupCollectionProvider, hostEnvironment, openApiOptions.Object, builder.ServiceProvider, new OpenApiTestServer());
90((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService;
128var jsonOptions = builder.ServiceProvider.GetService<IOptions<Microsoft.AspNetCore.Http.Json.JsonOptions>>() ?? Options.Create(new Microsoft.AspNetCore.Http.Json.JsonOptions());
131((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService;
132var documentService = new OpenApiDocumentService("Test", apiDescriptionGroupCollectionProvider, hostEnvironment, options.Object, builder.ServiceProvider, new OpenApiTestServer());
133((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService;
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.SignalR (1)
Microsoft.AspNetCore.StaticAssets (10)
RoutingSandbox (1)