Class ControllerActionEndpointConventionBuilderExtensions
Inheritance
System.Object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Web.Common.dll
Syntax
public static class ControllerActionEndpointConventionBuilderExtensions
Methods
View SourceForUmbracoPage(ControllerActionEndpointConventionBuilder, Func<ActionExecutingContext, IPublishedContent>)
Allows for defining a callback to set the returned
Declaration
public static void ForUmbracoPage(this ControllerActionEndpointConventionBuilder builder, Func<ActionExecutingContext, IPublishedContent> findContent)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
builder | |
Func<Microsoft. |
findContent |