SaaS CMS has officially launched! Learn more now.

Interface IEndpointRegistry

Contains all endpoint sources found during content endpoint registration

Namespace: EPiServer.Web.Routing.Matching
Assembly: EPiServer.Cms.AspNetCore.Routing.dll
Version: 12.0.3
Syntax
public interface IEndpointRegistry

Properties

EndpointDataSources

A list of endpoint data sources registered

Declaration
IEnumerable<EndpointDataSource> EndpointDataSources { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.EndpointDataSource>

Methods

RegisterEndpoints(IEnumerable<EndpointDataSource>)

Registers endpoint data sources, typically called from IEndpointRouteBuilder.MapContent

Declaration
void RegisterEndpoints(IEnumerable<EndpointDataSource> endpointSources)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.EndpointDataSource> endpointSources

Extension Methods