35 references to DefaultEndpointDataSource
Microsoft.AspNetCore.Mvc.Core.Test (3)
Routing\ControllerLinkGeneratorExtensionsTest.cs (1)
220services.TryAddEnumerable(ServiceDescriptor.Singleton<EndpointDataSource>(new DefaultEndpointDataSource(endpoints)));
Routing\EndpointRoutingUrlHelperTest.cs (1)
287ServiceDescriptor.Singleton<EndpointDataSource>(new DefaultEndpointDataSource(endpoints)));
Routing\PageLinkGeneratorExtensionsTest.cs (1)
190services.TryAddEnumerable(ServiceDescriptor.Singleton<EndpointDataSource>(new DefaultEndpointDataSource(endpoints)));
Microsoft.AspNetCore.Routing.Tests (32)
DefaultEndpointDataSourceTests.cs (3)
57var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 78var dataSource = new DefaultEndpointDataSource((IEnumerable<Endpoint>)endpoints); 93var actual = Assert.Throws<ArgumentNullException>(() => new DefaultEndpointDataSource(endpoints));
Matching\DfaMatcherTest.cs (29)
65var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 86var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 115var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 141var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 180var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 206var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 255var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 289var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 324var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 361var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 388var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 415var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 446var dataSource = new DefaultEndpointDataSource(endpoints); 467var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 493var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 520var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 551var dataSource = new DefaultEndpointDataSource(endpoints); 584var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 621var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 667var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 713var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 760var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 782var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 812var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 852var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 892var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint> 949var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 985var dataSource = new DefaultEndpointDataSource(new List<Endpoint> 1020var dataSource = new DefaultEndpointDataSource(new List<Endpoint>