Search Results for

    Show / Hide Table of Contents
    View Source

    Class UpdatePreventCleanupDocumentVersionController

    Inheritance
    System.Object
    ManagementApiControllerBase
    DocumentVersionControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.DocumentVersion
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class UpdatePreventCleanupDocumentVersionController : DocumentVersionControllerBase

    Constructors

    View Source

    UpdatePreventCleanupDocumentVersionController(IContentVersionService, IBackOfficeSecurityAccessor)

    Declaration
    public UpdatePreventCleanupDocumentVersionController(IContentVersionService contentVersionService, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
    Parameters
    Type Name Description
    IContentVersionService contentVersionService
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor

    Methods

    View Source

    Set(CancellationToken, Guid, Boolean)

    Declaration
    public async Task<IActionResult> Set(CancellationToken cancellationToken, Guid id, bool preventCleanup)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Guid id
    System.Boolean preventCleanup
    Returns
    Type Description
    Task<IActionResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UpdatePreventCleanupDocumentVersionController(IContentVersionService, IBackOfficeSecurityAccessor)
    • Methods
      • Set(CancellationToken, Guid, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX