1 implementation of IApiDescriptionGroupCollectionProvider
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
ApiDescriptionGroupCollectionProvider.cs (1)
11public partial class ApiDescriptionGroupCollectionProvider : IApiDescriptionGroupCollectionProvider
16 references to IApiDescriptionGroupCollectionProvider
ApiExplorerWebSite (2)
ApiExplorerDataFilter.cs (2)
19private readonly IApiDescriptionGroupCollectionProvider _descriptionProvider; 21public ApiExplorerDataFilter(IApiDescriptionGroupCollectionProvider descriptionProvider)
Microsoft.AspNetCore.Grpc.Swagger (1)
GrpcSwaggerServiceExtensions.cs (1)
37services.TryAddSingleton<IApiDescriptionGroupCollectionProvider>(serviceProvider =>
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DependencyInjection\EndpointMethodInfoApiExplorerServiceCollectionExtensions.cs (1)
25services.TryAddSingleton<IApiDescriptionGroupCollectionProvider>(sp => new ApiDescriptionGroupCollectionProvider(
DependencyInjection\MvcApiExplorerMvcCoreBuilderExtensions.cs (1)
35services.TryAddSingleton<IApiDescriptionGroupCollectionProvider>(sp => new ApiDescriptionGroupCollectionProvider(
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
242Assert.Contains(services, s => s.ServiceType == typeof(IApiDescriptionGroupCollectionProvider));
Microsoft.AspNetCore.OpenApi.Tests (10)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Info.cs (2)
23new Mock<IApiDescriptionGroupCollectionProvider>().Object, 46new Mock<IApiDescriptionGroupCollectionProvider>().Object,
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Servers.cs (4)
24new Mock<IApiDescriptionGroupCollectionProvider>().Object, 48new Mock<IApiDescriptionGroupCollectionProvider>().Object, 73new Mock<IApiDescriptionGroupCollectionProvider>().Object, 97new Mock<IApiDescriptionGroupCollectionProvider>().Object,
Services\OpenApiDocumentServiceTestsBase.cs (4)
83var apiDescriptionGroupCollectionProvider = CreateApiDescriptionGroupCollectionProvider(context.Results); 128var apiDescriptionGroupCollectionProvider = CreateApiDescriptionGroupCollectionProvider(context.Results); 139public static IApiDescriptionGroupCollectionProvider CreateApiDescriptionGroupCollectionProvider(IList<ApiDescription> apiDescriptions = null) 143var apiDescriptionGroupCollectionProvider = new Mock<IApiDescriptionGroupCollectionProvider>();