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