CompositeEndpointDataSource Class

Definition

Represents an EndpointDataSource whose values come from a collection of EndpointDataSource instances.

C#
public sealed class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource
C#
public sealed class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource, IDisposable
Inheritance
CompositeEndpointDataSource
Implements

Constructors

Properties

DataSources

Returns the collection of EndpointDataSource instances associated with the object.

Endpoints

Returns a read-only collection of Endpoint instances.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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.

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