Base:
property
Endpoints
Microsoft.AspNetCore.Routing.EndpointDataSource.Endpoints
14 references to Endpoints
Microsoft.AspNetCore.Routing.Tests (14)
CompositeEndpointDataSourceTest.cs (2)
31Assert.NotSame(endpoints, dataSource.Endpoints); 32Assert.Equal(endpoints, dataSource.Endpoints);
DefaultEndpointDataSourceTests.cs (8)
20Assert.Collection(dataSource.Endpoints, 39Assert.Equal(2, dataSource.Endpoints.Count); 40Assert.Contains(endpoint1, dataSource.Endpoints); 41Assert.Contains(endpoint2, dataSource.Endpoints); 64Assert.Collection(dataSource.Endpoints, 83Assert.Equal(2, dataSource.Endpoints.Count); 84Assert.Contains(endpoint1, dataSource.Endpoints); 85Assert.Contains(endpoint2, dataSource.Endpoints);
Matching\DfaMatcherTest.cs (4)
909Assert.Same(endpointDataSource.Endpoints[0], httpContext.GetEndpoint()); 978Assert.Same(dataSource.Endpoints[2], httpContext.GetEndpoint()); 1013Assert.Same(dataSource.Endpoints[1], httpContext.GetEndpoint()); 1062Assert.Same(dataSource.Endpoints[0], httpContext.GetEndpoint());