View Source
Class PublishStatusService
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class PublishStatusService : IPublishStatusManagementService, IPublishStatusQueryService
Constructors
View Source
PublishStatusService(ILogger<PublishStatusService>, IPublishStatusRepository, ICoreScopeProvider)
Declaration
public PublishStatusService(ILogger<PublishStatusService> logger, IPublishStatusRepository publishStatusRepository, ICoreScopeProvider coreScopeProvider)
Parameters
Methods
View Source
AddOrUpdateStatusAsync(Guid, CancellationToken)
Declaration
public async Task AddOrUpdateStatusAsync(Guid documentKey, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
Guid |
documentKey |
|
CancellationToken |
cancellationToken |
|
Returns
View Source
AddOrUpdateStatusWithDescendantsAsync(Guid, CancellationToken)
Declaration
public async Task AddOrUpdateStatusWithDescendantsAsync(Guid rootDocumentKey, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
Guid |
rootDocumentKey |
|
CancellationToken |
cancellationToken |
|
Returns
View Source
InitializeAsync(CancellationToken)
Declaration
public async Task InitializeAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
View Source
IsDocumentPublished(Guid, String)
Declaration
public bool IsDocumentPublished(Guid documentKey, string culture)
Parameters
Type |
Name |
Description |
Guid |
documentKey |
|
System.String |
culture |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
RemoveAsync(Guid, CancellationToken)
Declaration
public Task RemoveAsync(Guid documentKey, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
Guid |
documentKey |
|
CancellationToken |
cancellationToken |
|
Returns