View Source
Class ApiPublishedContentCache
Inheritance
System.Object
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
Methods
View Source
GetById(Guid)
Declaration
public IPublishedContent GetById(Guid contentId)
Parameters
Type |
Name |
Description |
Guid |
contentId |
|
Returns
View Source
GetByIds(IEnumerable<Guid>)
Declaration
public IEnumerable<IPublishedContent> GetByIds(IEnumerable<Guid> contentIds)
Parameters
Type |
Name |
Description |
IEnumerable<Guid> |
contentIds |
|
Returns
View Source
GetByRoute(String)
Declaration
public IPublishedContent GetByRoute(string route)
Parameters
Type |
Name |
Description |
System.String |
route |
|
Returns