Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishDocumentWithDescendantsController

    Inheritance
    System.Object
    ManagementApiControllerBase
    ContentControllerBase
    DocumentControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.Document
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class PublishDocumentWithDescendantsController : DocumentControllerBase

    Constructors

    View Source

    PublishDocumentWithDescendantsController(IAuthorizationService, IContentPublishingService, IBackOfficeSecurityAccessor)

    Declaration
    public PublishDocumentWithDescendantsController(IAuthorizationService authorizationService, IContentPublishingService contentPublishingService, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
    Parameters
    Type Name Description
    IAuthorizationService authorizationService
    IContentPublishingService contentPublishingService
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor

    Methods

    View Source

    PublishWithDescendants(CancellationToken, Guid, PublishDocumentWithDescendantsRequestModel)

    Declaration
    public async Task<IActionResult> PublishWithDescendants(CancellationToken cancellationToken, Guid id, PublishDocumentWithDescendantsRequestModel requestModel)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Guid id
    PublishDocumentWithDescendantsRequestModel requestModel
    Returns
    Type Description
    Task<IActionResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PublishDocumentWithDescendantsController(IAuthorizationService, IContentPublishingService, IBackOfficeSecurityAccessor)
    • Methods
      • PublishWithDescendants(CancellationToken, Guid, PublishDocumentWithDescendantsRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX