Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeliveryApiCompositeIdHandler

    Default implementation of IDeliveryApiCompositeIdHandler that handles composite ID creation and decomposition.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public class DeliveryApiCompositeIdHandler : IDeliveryApiCompositeIdHandler

    Constructors

    View Source

    DeliveryApiCompositeIdHandler()

    Declaration
    public DeliveryApiCompositeIdHandler()

    Methods

    View Source

    Decompose(string)

    Decomposes a composite index ID into its component parts.

    Declaration
    public 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
    public 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