Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDeliveryApiCompositeIdHandler

    Defines a handler for creating and decomposing composite IDs used in the Delivery API index.

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

    Methods

    View Source

    Decompose(string)

    Decomposes a composite index ID into its component parts.

    Declaration
    DeliveryApiIndexCompositeIdModel Decompose(string indexId)
    Parameters
    Type Name Description
    string indexId

    The composite index ID to decompose.

    Returns
    Type Description
    DeliveryApiIndexCompositeIdModel

    A DeliveryApiIndexCompositeIdModel containing the decomposed ID and culture.

    View Source

    IndexId(int, string)

    Creates a composite index ID from the specified content ID and culture.

    Declaration
    string IndexId(int id, string culture)
    Parameters
    Type Name Description
    int id

    The content ID.

    string culture

    The culture code.

    Returns
    Type Description
    string

    A composite index ID string.

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