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)
64 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 (10)
Services\OpenApiDocumentServiceTestsBase.cs (10)
37var scopedService = ((TestServiceProvider)builder.ServiceProvider).CreateScope();
88var schemaService = new OpenApiSchemaService("Test", Options.Create(new Microsoft.AspNetCore.Http.Json.JsonOptions()), builder.ServiceProvider, openApiOptions.Object);
89((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService;
90var documentService = new OpenApiDocumentService("Test", apiDescriptionGroupCollectionProvider, hostEnvironment, openApiOptions.Object, builder.ServiceProvider, new OpenApiTestServer());
91((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService;
129var jsonOptions = builder.ServiceProvider.GetService<IOptions<Microsoft.AspNetCore.Http.Json.JsonOptions>>() ?? Options.Create(new Microsoft.AspNetCore.Http.Json.JsonOptions());
131var schemaService = new OpenApiSchemaService("Test", jsonOptions, builder.ServiceProvider, options.Object);
132((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService;
133var documentService = new OpenApiDocumentService("Test", apiDescriptionGroupCollectionProvider, hostEnvironment, options.Object, builder.ServiceProvider, new OpenApiTestServer());
134((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService;
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.SignalR (1)
Microsoft.AspNetCore.StaticAssets (10)
RoutingSandbox (1)