Table of Contents

Class ControllerActionEndpointConventionBuilderExtensions

Namespace
Umbraco.Extensions
Assembly
Umbraco.Web.Common.dll
public static class ControllerActionEndpointConventionBuilderExtensions
Inheritance
ControllerActionEndpointConventionBuilderExtensions
Inherited Members

Methods

ForUmbracoPage(ControllerActionEndpointConventionBuilder, Func<ActionExecutingContext, IPublishedContent>)

Allows for defining a callback to set the returned Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent for the current request for this route

public static void ForUmbracoPage(this ControllerActionEndpointConventionBuilder builder, Func<ActionExecutingContext, IPublishedContent> findContent)

Parameters

builder ControllerActionEndpointConventionBuilder
findContent Func<ActionExecutingContext, IPublishedContent>