1 write to EndpointDataSources
Microsoft.AspNetCore.Routing (1)
ConfigureRouteOptions.cs (1)
24
options.
EndpointDataSources
= _dataSources;
9 references to EndpointDataSources
Microsoft.AspNetCore.Routing (2)
Builder\EndpointRoutingApplicationBuilderExtensions.cs (2)
107
if (!routeOptions.Value.
EndpointDataSources
.Contains(dataSource))
109
routeOptions.Value.
EndpointDataSources
.Add(dataSource);
Microsoft.AspNetCore.Routing.Tests (7)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (1)
324
Assert.Equal(mockRouteBuilder.Object.DataSources, routeOptions.Value.
EndpointDataSources
);
LinkGeneratorTestBase.cs (2)
65
o.
EndpointDataSources
.Add(dataSource);
75
new CompositeEndpointDataSource(routeOptions.Value.
EndpointDataSources
),
LinkParserTestBase.cs (2)
57
o.
EndpointDataSources
.Add(dataSource);
67
new CompositeEndpointDataSource(routeOptions.Value.
EndpointDataSources
),
RouteOptionsTests.cs (2)
44
options.
EndpointDataSources
.Add(new DefaultEndpointDataSource(endpoint1));
51
options.
EndpointDataSources
.Add(new DefaultEndpointDataSource(endpoint2));