4 implementations of DataSources
Microsoft.AspNetCore (1)
WebApplication.cs (1)
84ICollection<EndpointDataSource> IEndpointRouteBuilder.DataSources => DataSources;
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
137public ICollection<EndpointDataSource> DataSources { get; } = new List<EndpointDataSource>() { };
Microsoft.AspNetCore.Routing (2)
DefaultEndpointRouteBuilder.cs (1)
20public ICollection<EndpointDataSource> DataSources { get; }
RouteGroupBuilder.cs (1)
36ICollection<EndpointDataSource> IEndpointRouteBuilder.DataSources => _dataSources;
15 references to DataSources
Microsoft.AspNetCore.Components.Endpoints (2)
Builder\RazorComponentsEndpointRouteBuilderExtensions.cs (2)
45var dataSource = endpoints.DataSources.OfType<RazorComponentEndpointDataSource<TRootComponent>>().FirstOrDefault(); 50endpoints.DataSources.Add(dataSource);
Microsoft.AspNetCore.Mvc.Core (2)
Builder\ControllerEndpointRouteBuilderExtensions.cs (2)
530var dataSource = endpoints.DataSources.OfType<ControllerActionEndpointDataSource>().FirstOrDefault(); 536endpoints.DataSources.Add(dataSource);
Microsoft.AspNetCore.Mvc.RazorPages (2)
Builder\RazorPagesEndpointRouteBuilderExtensions.cs (2)
376var dataSource = endpoints.DataSources.OfType<PageActionEndpointDataSource>().FirstOrDefault(); 382endpoints.DataSources.Add(dataSource);
Microsoft.AspNetCore.Routing (5)
Builder\EndpointRouteBuilderExtensions.cs (2)
446foreach (var dataSource in endpoints.DataSources) 462endpoints.DataSources.Add(routeEndpointDataSource);
Builder\EndpointRoutingApplicationBuilderExtensions.cs (1)
102foreach (var dataSource in endpointRouteBuilder.DataSources)
EndpointRoutingMiddleware.cs (1)
56_endpointDataSource = new CompositeEndpointDataSource(endpointRouteBuilder.DataSources);
RouteGroupBuilder.cs (1)
31_outerEndpointRouteBuilder.DataSources.Add(new GroupEndpointDataSource(this));
Microsoft.AspNetCore.StaticAssets (4)
Infrastructure\StaticAssetsEndpointDataSourceHelper.cs (2)
21foreach (var dataSource in builder.DataSources) 43foreach (var dataSource in endpointRouteBuilder.DataSources)
StaticAssetsEndpointRouteBuilderExtensions.cs (1)
75foreach (var ds in endpoints.DataSources)
StaticAssetsManifest.cs (1)
46endpoints.DataSources.Add(dataSource);