29 references to AddEndpoint
Microsoft.AspNetCore.Routing.Tests (29)
Builder\GroupTest.cs (1)
375
dynamicDataSource.
AddEndpoint
(new RouteEndpoint(
CompositeEndpointDataSourceTest.cs (7)
131
dataSource1.
AddEndpoint
(endpoint2);
143
dataSource1.
AddEndpoint
(endpoint3);
173
dataSource1.
AddEndpoint
(endpoint2);
186
dataSource1.
AddEndpoint
(endpoint3);
223
dataSource2.
AddEndpoint
(endpoint3);
248
dataSource1.
AddEndpoint
(endpoint2);
272
dataSource1.
AddEndpoint
(endpoint4);
DataSourceDependentCacheTest.cs (3)
69
dataSource.
AddEndpoint
(null);
93
dataSource.
AddEndpoint
(null);
117
dataSource.
AddEndpoint
(null);
DefaultLinkGeneratorTest.cs (1)
592
dataSource.
AddEndpoint
(endpoint2);
DefaultLinkParserTest.cs (1)
148
dataSource.
AddEndpoint
(endpoint2);
EndpointNameAddressSchemeTest.cs (1)
90
dynamicDataSource.
AddEndpoint
(endpoint2);
Matching\DataSourceDependentMatcherTest.cs (12)
45
dataSource.
AddEndpoint
(endpoint);
72
dataSource.
AddEndpoint
(endpoint);
86
dataSource.
AddEndpoint
(endpoint);
108
dataSource.
AddEndpoint
(endpoint);
130
dataSource.
AddEndpoint
(endpoint);
147
dataSource.
AddEndpoint
(new RouteEndpoint(
154
dataSource.
AddEndpoint
(new RouteEndpoint(
175
dataSource.
AddEndpoint
(new RouteEndpoint(
182
dataSource.
AddEndpoint
(new RouteEndpoint(
190
anotherDataSource.
AddEndpoint
(new RouteEndpoint(
213
dataSource.
AddEndpoint
(new RouteEndpoint(
226
() => dataSource.
AddEndpoint
(new RouteEndpoint(
RouteValuesAddressSchemeTest.cs (3)
96
dynamicDataSource.
AddEndpoint
(endpoint2);
107
dynamicDataSource.
AddEndpoint
(endpoint3);
118
dynamicDataSource.
AddEndpoint
(endpoint4);