Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IApiMediaWithCropsResponseBuilder

    Provides methods for constructing API responses that include media items along with their crop information.

    Namespace: Umbraco.Cms.Infrastructure.DeliveryApi
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IApiMediaWithCropsResponseBuilder

    Methods

    View Source

    Build(IPublishedContent)

    Builds a response containing media information and crop data from the specified media content.

    Declaration
    IApiMediaWithCropsResponse Build(IPublishedContent media)
    Parameters
    Type Name Description
    IPublishedContent media

    The media content to generate the response from.

    Returns
    Type Description
    IApiMediaWithCropsResponse

    A response object containing media and crop information.

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