Base:
property
Endpoints
Microsoft.AspNetCore.Routing.EndpointDataSource.Endpoints
11 references to Endpoints
Microsoft.AspNetCore (1)
WebApplication.cs (1)
288
return new CompositeEndpointDataSource(_webApplication.DataSources).
Endpoints
;
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
HotReloadServiceTests.cs (2)
136
var compositeEndpoint = Assert.IsType<RouteEndpoint>(Assert.Single(compositeEndpointDataSource.
Endpoints
, e => e.Metadata.GetMetadata<RootComponentMetadata>() != null));
146
var compositePageEndpoints = compositeEndpointDataSource.
Endpoints
.Where(e => e.Metadata.GetMetadata<RootComponentMetadata>() != null).ToList();
Microsoft.AspNetCore.Routing.Tests (8)
CompositeEndpointDataSourceTest.cs (8)
28
var endpoints = compositeDataSource.
Endpoints
;
77
Assert.Same(ex, Assert.Throws<Exception>(() => compositeDataSource.
Endpoints
));
78
Assert.Same(ex, Assert.Throws<Exception>(() => compositeDataSource.
Endpoints
));
100
var endpoints = compositeDataSource.
Endpoints
;
121
var endpoints = compositeDataSource.
Endpoints
;
135
compositeDataSource.
Endpoints
,
147
compositeDataSource.
Endpoints
,
162
var endpoints = compositeDataSource.
Endpoints
;