24 instantiations of CompositeEndpointDataSource
Microsoft.AspNetCore (1)
WebApplication.cs (1)
288return new CompositeEndpointDataSource(_webApplication.DataSources).Endpoints;
Microsoft.AspNetCore.Routing (3)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
78return new CompositeEndpointDataSource(dataSources);
EndpointRoutingMiddleware.cs (1)
56_endpointDataSource = new CompositeEndpointDataSource(endpointRouteBuilder.DataSources);
RouteGroupBuilder.cs (1)
125_compositeDataSource ??= new CompositeEndpointDataSource(_routeGroupBuilder._dataSources);
Microsoft.AspNetCore.Routing.Tests (20)
CompositeEndpointDataSourceTest.cs (12)
25var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 41var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 65var compositeDataSource = new CompositeEndpointDataSource(new[] 92var compositeDataSource = new CompositeEndpointDataSource(new[] 118var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource1 }); 159var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource1 }); 203var compositeDataSource = new CompositeEndpointDataSource(observableCollection); 239var compositeDataSource = new CompositeEndpointDataSource(observableCollection); 286var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 326var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 378var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 437var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource });
EndpointNameAddressSchemeTest.cs (1)
193return new EndpointNameAddressScheme(new CompositeEndpointDataSource(dataSources));
LinkGeneratorTestBase.cs (1)
75new CompositeEndpointDataSource(routeOptions.Value.EndpointDataSources),
LinkParserTestBase.cs (1)
67new CompositeEndpointDataSource(routeOptions.Value.EndpointDataSources),
Matching\CandidateSetTest.cs (1)
384var dataSource = new CompositeEndpointDataSource(Array.Empty<EndpointDataSource>());
Matching\DataSourceDependentMatcherTest.cs (1)
198var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource, anotherDataSource });
Matching\DfaMatcherBuilderTest.cs (1)
3502var dataSource = new CompositeEndpointDataSource(Array.Empty<EndpointDataSource>());
RouteValuesAddressSchemeTest.cs (2)
79var addressScheme = new RouteValuesAddressScheme(new CompositeEndpointDataSource(new[] { dynamicDataSource })); 422return new RouteValuesAddressScheme(new CompositeEndpointDataSource(dataSources));
20 references to CompositeEndpointDataSource
Microsoft.AspNetCore (1)
WebApplication.cs (1)
276if (dataSource is CompositeEndpointDataSource compositeEndpointDataSource)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
HotReloadServiceTests.cs (1)
130var compositeEndpointDataSource = new CompositeEndpointDataSource(
Microsoft.AspNetCore.Routing (3)
CompositeEndpointDataSource.cs (2)
35/// Instantiates a <see cref="CompositeEndpointDataSource"/> object from <paramref name="endpointDataSources"/>. 38/// <returns>A <see cref="CompositeEndpointDataSource"/>.</returns>
RouteGroupBuilder.cs (1)
43private CompositeEndpointDataSource? _compositeDataSource;
Microsoft.AspNetCore.Routing.Tests (15)
CompositeEndpointDataSourceTest.cs (12)
25var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 41var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 65var compositeDataSource = new CompositeEndpointDataSource(new[] 92var compositeDataSource = new CompositeEndpointDataSource(new[] 118var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource1 }); 159var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource1 }); 203var compositeDataSource = new CompositeEndpointDataSource(observableCollection); 239var compositeDataSource = new CompositeEndpointDataSource(observableCollection); 286var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 326var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 378var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource }); 437var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource });
Matching\CandidateSetTest.cs (1)
384var dataSource = new CompositeEndpointDataSource(Array.Empty<EndpointDataSource>());
Matching\DataSourceDependentMatcherTest.cs (1)
198var compositeDataSource = new CompositeEndpointDataSource(new[] { dataSource, anotherDataSource });
Matching\DfaMatcherBuilderTest.cs (1)
3502var dataSource = new CompositeEndpointDataSource(Array.Empty<EndpointDataSource>());