Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiPublishedContentCache

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ApiPublishedContentCache : IApiPublishedContentCache

    Constructors

    View Source

    ApiPublishedContentCache(IRequestPreviewService, IOptionsMonitor<DeliveryApiSettings>, IApiDocumentUrlService, IPublishedContentCache, IVariationContextAccessor)

    Declaration
    public ApiPublishedContentCache(IRequestPreviewService requestPreviewService, IOptionsMonitor<DeliveryApiSettings> deliveryApiSettings, IApiDocumentUrlService apiDocumentUrlService, IPublishedContentCache publishedContentCache, IVariationContextAccessor variationContextAccessor)
    Parameters
    Type Name Description
    IRequestPreviewService requestPreviewService
    IOptionsMonitor<DeliveryApiSettings> deliveryApiSettings
    IApiDocumentUrlService apiDocumentUrlService
    IPublishedContentCache publishedContentCache
    IVariationContextAccessor variationContextAccessor

    Methods

    View Source

    GetById(Guid)

    Declaration
    public IPublishedContent? GetById(Guid contentId)
    Parameters
    Type Name Description
    Guid contentId
    Returns
    Type Description
    IPublishedContent
    View Source

    GetByIdAsync(Guid)

    Declaration
    public Task<IPublishedContent?> GetByIdAsync(Guid contentId)
    Parameters
    Type Name Description
    Guid contentId
    Returns
    Type Description
    Task<IPublishedContent>
    View Source

    GetByIds(IEnumerable<Guid>)

    Declaration
    public IEnumerable<IPublishedContent> GetByIds(IEnumerable<Guid> contentIds)
    Parameters
    Type Name Description
    IEnumerable<Guid> contentIds
    Returns
    Type Description
    IEnumerable<IPublishedContent>
    View Source

    GetByIdsAsync(IEnumerable<Guid>)

    Declaration
    public Task<IEnumerable<IPublishedContent>> GetByIdsAsync(IEnumerable<Guid> contentIds)
    Parameters
    Type Name Description
    IEnumerable<Guid> contentIds
    Returns
    Type Description
    Task<IEnumerable<IPublishedContent>>
    View Source

    GetByRoute(string)

    Declaration
    public IPublishedContent? GetByRoute(string route)
    Parameters
    Type Name Description
    string route
    Returns
    Type Description
    IPublishedContent
    View Source

    GetByRouteAsync(string)

    Declaration
    public Task<IPublishedContent?> GetByRouteAsync(string route)
    Parameters
    Type Name Description
    string route
    Returns
    Type Description
    Task<IPublishedContent>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX