DefaultEndpointDataSource Class

Definition

Provides a collection of Endpoint instances.

C#
public sealed class DefaultEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource
Inheritance
DefaultEndpointDataSource

Constructors

Properties

Endpoints

Returns a read-only collection of Endpoint instances.

Methods

GetChangeToken()

Gets a IChangeToken used to signal invalidation of cached Endpoint instances.

GetGroupedEndpoints(RouteGroupContext)

Get the Endpoint instances for this EndpointDataSource given the specified Prefix and Conventions.

(Inherited from EndpointDataSource)

Applies to

Product Versions
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0