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