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