Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentVersionCleanup

    Recurring hosted service that executes the content history cleanup.

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

    Constructors

    View Source

    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

    View Source

    PerformExecuteAsync(Object)

    Declaration
    public override Task PerformExecuteAsync(object state)
    Parameters
    Type Name Description
    System.Object state
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentVersionCleanup(IRuntimeState, ILogger<ContentVersionCleanup>, IOptionsMonitor<ContentSettings>, IContentVersionService, IMainDom, IServerRoleAccessor)
    • Methods
      • PerformExecuteAsync(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX