A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class ImmutableEndpointDataSource

An endpoint data source that is Immutable

Inheritance
System.Object
ImmutableEndpointDataSource
Namespace: EPiServer.Web.Routing.Matching
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public class ImmutableEndpointDataSource : EndpointDataSource

Constructors

ImmutableEndpointDataSource(Endpoint[])

Creates a new instance of ImmutableEndpointDataSource

Declaration
public ImmutableEndpointDataSource(params Endpoint[] endpoints)
Parameters
Type Name Description
Microsoft.AspNetCore.Http.Endpoint[] endpoints

The endpoints that will be part of this source

Properties

Endpoints

Declaration
public override IReadOnlyList<Endpoint> Endpoints { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint>

Methods

GetChangeToken()

Declaration
public override IChangeToken GetChangeToken()
Returns
Type Description
Microsoft.Extensions.Primitives.IChangeToken

Extension Methods