DefaultEndpointDataSource Class

Definition

Provides a collection of Endpoint instances.

public ref class DefaultEndpointDataSource sealed : Microsoft::AspNetCore::Routing::EndpointDataSource
public sealed class DefaultEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource
type DefaultEndpointDataSource = class
    inherit EndpointDataSource
Public NotInheritable Class DefaultEndpointDataSource
Inherits EndpointDataSource
Inheritance
DefaultEndpointDataSource

Constructors

DefaultEndpointDataSource(Endpoint[])

Initializes a new instance of the DefaultEndpointDataSource class.

DefaultEndpointDataSource(IEnumerable<Endpoint>)

Initializes a new instance of the DefaultEndpointDataSource class.

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