View Source
Class ApiPublishedContentCache
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public sealed class ApiPublishedContentCache : IApiPublishedContentCache
Constructors
View Source
ApiPublishedContentCache(IRequestPreviewService, IRequestCultureService, IOptionsMonitor<DeliveryApiSettings>, IDocumentUrlService, IPublishedContentCache)
Declaration
public ApiPublishedContentCache(IRequestPreviewService requestPreviewService, IRequestCultureService requestCultureService, IOptionsMonitor<DeliveryApiSettings> deliveryApiSettings, IDocumentUrlService documentUrlService, IPublishedContentCache publishedContentCache)
Parameters
Methods
View Source
GetById(Guid)
Declaration
public IPublishedContent GetById(Guid contentId)
Parameters
Type |
Name |
Description |
Guid |
contentId |
|
Returns
View Source
GetByIdAsync(Guid)
Declaration
public async Task<IPublishedContent> GetByIdAsync(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
GetByIdsAsync(IEnumerable<Guid>)
Declaration
public async Task<IEnumerable<IPublishedContent>> GetByIdsAsync(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
View Source
GetByRouteAsync(String)
Declaration
public async Task<IPublishedContent> GetByRouteAsync(string route)
Parameters
Type |
Name |
Description |
System.String |
route |
|
Returns