Class EPiServerEndpointRouteBuilder

EndpointRoute builder for EPiServer content.

Inheritance
System.Object
EPiServerEndpointRouteBuilder
Implements
Microsoft.AspNetCore.Routing.IEndpointRouteBuilder
Namespace: EPiServer.Web.Routing.Internal
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public class EPiServerEndpointRouteBuilder : Object, IEndpointRouteBuilder

Constructors

EPiServerEndpointRouteBuilder(IEndpointRouteBuilder)

Creates new instances of the endpoint route builder

Declaration
public EPiServerEndpointRouteBuilder(IEndpointRouteBuilder defaultRouteBuilder)
Parameters
Type Name Description
Microsoft.AspNetCore.Routing.IEndpointRouteBuilder defaultRouteBuilder

Default route builder to call if no route is found

Properties

DataSources

Gets the list of data sources for this route builder

Declaration
public ICollection<EndpointDataSource> DataSources { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<Microsoft.AspNetCore.Routing.EndpointDataSource>

ServiceProvider

Accessor for services

Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
Type Description
System.IServiceProvider

Methods

CreateApplicationBuilder()

Create a application builder

Declaration
public IApplicationBuilder CreateApplicationBuilder()
Returns
Type Description
Microsoft.AspNetCore.Builder.IApplicationBuilder

Application builder

Implements

Microsoft.AspNetCore.Routing.IEndpointRouteBuilder

Extension Methods