SaaS CMS has officially launched! Learn more now.

Interface IRoutedContentEvaluator

Signature for component that evaluates how a routed content should be handled

Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNetCore.Routing.dll
Version: 12.0.3
Syntax
public interface IRoutedContentEvaluator
Remarks

Implementaion should be registered in DI container

Methods

EvaluateRoutedContentAsync(ContentRouteData)

Determines how a routed content should be handled

Declaration
Task<RoutedContentEvaluationResult> EvaluateRoutedContentAsync(ContentRouteData routedContentData)
Parameters
Type Name Description
ContentRouteData routedContentData

The routed content data

Returns
Type Description
System.Threading.Tasks.Task<RoutedContentEvaluationResult>

A result how current request should be handled

Extension Methods