23 references to CompositeEndpointDataSource
Microsoft.AspNetCore (1)
WebApplication.cs (1)
288
return new
CompositeEndpointDataSource
(_webApplication.DataSources).Endpoints;
Microsoft.AspNetCore.Routing (2)
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)
25
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource });
41
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource });
65
var compositeDataSource = new
CompositeEndpointDataSource
(new[]
92
var compositeDataSource = new
CompositeEndpointDataSource
(new[]
118
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource1 });
159
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource1 });
203
var compositeDataSource = new
CompositeEndpointDataSource
(observableCollection);
239
var compositeDataSource = new
CompositeEndpointDataSource
(observableCollection);
286
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource });
326
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource });
378
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource });
437
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource });
EndpointNameAddressSchemeTest.cs (1)
193
return new EndpointNameAddressScheme(new
CompositeEndpointDataSource
(dataSources));
LinkGeneratorTestBase.cs (1)
75
new
CompositeEndpointDataSource
(routeOptions.Value.EndpointDataSources),
LinkParserTestBase.cs (1)
67
new
CompositeEndpointDataSource
(routeOptions.Value.EndpointDataSources),
Matching\CandidateSetTest.cs (1)
384
var dataSource = new
CompositeEndpointDataSource
(Array.Empty<EndpointDataSource>());
Matching\DataSourceDependentMatcherTest.cs (1)
198
var compositeDataSource = new
CompositeEndpointDataSource
(new[] { dataSource, anotherDataSource });
Matching\DfaMatcherBuilderTest.cs (1)
3502
var dataSource = new
CompositeEndpointDataSource
(Array.Empty<EndpointDataSource>());
RouteValuesAddressSchemeTest.cs (2)
79
var addressScheme = new RouteValuesAddressScheme(new
CompositeEndpointDataSource
(new[] { dynamicDataSource }));
422
return new RouteValuesAddressScheme(new
CompositeEndpointDataSource
(dataSources));