Search Results for

    Show / Hide Table of Contents

    Class ContentVersionCleanup

    Recurring hosted service that executes the content history cleanup.

    Inheritance
    System.Object
    RecurringHostedServiceBase
    Namespace: Umbraco.Cms.Infrastructure.HostedServices
    Assembly: cs.temp.dll.dll
    Syntax
    public class ContentVersionCleanup : RecurringHostedServiceBase, IDisposable

    Constructors

    ContentVersionCleanup(IRuntimeState, ILogger<ContentVersionCleanup>, IOptionsMonitor<ContentSettings>, IContentVersionService, IMainDom, IServerRoleAccessor)

    Initializes a new instance of the ContentVersionCleanup class.

    Declaration
    public ContentVersionCleanup(IRuntimeState runtimeState, ILogger<ContentVersionCleanup> logger, IOptionsMonitor<ContentSettings> settingsMonitor, IContentVersionService service, IMainDom mainDom, IServerRoleAccessor serverRoleAccessor)
    Parameters
    Type Name Description
    IRuntimeState runtimeState
    ILogger<ContentVersionCleanup> logger
    IOptionsMonitor<ContentSettings> settingsMonitor
    IContentVersionService service
    IMainDom mainDom
    IServerRoleAccessor serverRoleAccessor

    Methods

    PerformExecuteAsync(Object)

    Declaration
    public override Task PerformExecuteAsync(object state)
    Parameters
    Type Name Description
    System.Object state
    Returns
    Type Description
    Task
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX