Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IApiMediaUrlProvider

    Defines a provider that retrieves URLs for media items in the Delivery API.

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

    Methods

    View Source

    GetUrl(IPublishedContent)

    Gets the URL for the specified media item.

    Declaration
    string GetUrl(IPublishedContent media)
    Parameters
    Type Name Description
    IPublishedContent media

    The published media to get the URL for.

    Returns
    Type Description
    string

    The URL of the media item.

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