Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IApiContentRouteBuilder

    Defines a builder that creates IApiContentRoute instances from published content.

    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IApiContentRouteBuilder

    Methods

    View Source

    Build(IPublishedContent, string?)

    Builds an IApiContentRoute instance from the specified published content.

    Declaration
    IApiContentRoute? Build(IPublishedContent content, string? culture = null)
    Parameters
    Type Name Description
    IPublishedContent content

    The published content to build from.

    string culture

    The culture to use for the route, or null for the default culture.

    Returns
    Type Description
    IApiContentRoute

    An IApiContentRoute instance, or null if the route cannot be built.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX