Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaApiControllerBase

    Inheritance
    System.Object
    DeliveryApiControllerBase
    Namespace: Umbraco.Cms.Api.Delivery.Controllers.Media
    Assembly: Umbraco.Cms.Api.Delivery.dll
    Syntax
    public abstract class MediaApiControllerBase : DeliveryApiControllerBase

    Constructors

    View Source

    MediaApiControllerBase(IPublishedSnapshotAccessor, IApiMediaWithCropsResponseBuilder)

    Declaration
    protected MediaApiControllerBase(IPublishedSnapshotAccessor publishedSnapshotAccessor, IApiMediaWithCropsResponseBuilder apiMediaWithCropsResponseBuilder)
    Parameters
    Type Name Description
    IPublishedSnapshotAccessor publishedSnapshotAccessor
    IApiMediaWithCropsResponseBuilder apiMediaWithCropsResponseBuilder

    Properties

    View Source

    PublishedMediaCache

    Declaration
    protected IPublishedMediaCache PublishedMediaCache { get; }
    Property Value
    Type Description
    IPublishedMediaCache

    Methods

    View Source

    ApiMediaQueryOperationStatusResult(ApiMediaQueryOperationStatus)

    Declaration
    protected IActionResult ApiMediaQueryOperationStatusResult(ApiMediaQueryOperationStatus status)
    Parameters
    Type Name Description
    ApiMediaQueryOperationStatus status
    Returns
    Type Description
    IActionResult
    View Source

    BuildApiMediaWithCrops(IPublishedContent)

    Declaration
    protected IApiMediaWithCropsResponse BuildApiMediaWithCrops(IPublishedContent media)
    Parameters
    Type Name Description
    IPublishedContent media
    Returns
    Type Description
    IApiMediaWithCropsResponse
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MediaApiControllerBase(IPublishedSnapshotAccessor, IApiMediaWithCropsResponseBuilder)
    • Properties
      • PublishedMediaCache
    • Methods
      • ApiMediaQueryOperationStatusResult(ApiMediaQueryOperationStatus)
      • BuildApiMediaWithCrops(IPublishedContent)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX