Search Results for

    Show / Hide Table of Contents
    View Source

    Class ControllerActionEndpointConventionBuilderExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public static class ControllerActionEndpointConventionBuilderExtensions

    Methods

    View Source

    ForUmbracoPage(ControllerActionEndpointConventionBuilder, Func<ActionExecutingContext, IPublishedContent>)

    Allows for defining a callback to set the returned for the current request for this route

    Declaration
    public static void ForUmbracoPage(this ControllerActionEndpointConventionBuilder builder, Func<ActionExecutingContext, IPublishedContent> findContent)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder builder
    Func<Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext, IPublishedContent> findContent
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • ForUmbracoPage(ControllerActionEndpointConventionBuilder, Func<ActionExecutingContext, IPublishedContent>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX