Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiPublishedContentCache

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

    Constructors

    View Source

    ApiPublishedContentCache(IPublishedSnapshotAccessor, IRequestPreviewService, IOptionsMonitor<DeliveryApiSettings>)

    Declaration
    public ApiPublishedContentCache(IPublishedSnapshotAccessor publishedSnapshotAccessor, IRequestPreviewService requestPreviewService, IOptionsMonitor<DeliveryApiSettings> deliveryApiSettings)
    Parameters
    Type Name Description
    IPublishedSnapshotAccessor publishedSnapshotAccessor
    IRequestPreviewService requestPreviewService
    IOptionsMonitor<DeliveryApiSettings> deliveryApiSettings

    Methods

    View Source

    GetById(Guid)

    Declaration
    public IPublishedContent GetById(Guid contentId)
    Parameters
    Type Name Description
    Guid contentId
    Returns
    Type Description
    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

    GetByRoute(String)

    Declaration
    public IPublishedContent GetByRoute(string route)
    Parameters
    Type Name Description
    System.String route
    Returns
    Type Description
    IPublishedContent
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ApiPublishedContentCache(IPublishedSnapshotAccessor, IRequestPreviewService, IOptionsMonitor<DeliveryApiSettings>)
    • Methods
      • GetById(Guid)
      • GetByIds(IEnumerable<Guid>)
      • GetByRoute(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX