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