Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentApiItemControllerBase

    Inheritance
    System.Object
    DeliveryApiControllerBase
    ContentApiControllerBase
    Namespace: Umbraco.Cms.Api.Delivery.Controllers
    Assembly: Umbraco.Cms.Api.Delivery.dll
    Syntax
    public abstract class ContentApiItemControllerBase : ContentApiControllerBase

    Constructors

    View Source

    ContentApiItemControllerBase(IApiPublishedContentCache, IApiContentResponseBuilder)

    Declaration
    protected ContentApiItemControllerBase(IApiPublishedContentCache apiPublishedContentCache, IApiContentResponseBuilder apiContentResponseBuilder)
    Parameters
    Type Name Description
    IApiPublishedContentCache apiPublishedContentCache
    IApiContentResponseBuilder apiContentResponseBuilder
    View Source

    ContentApiItemControllerBase(IApiPublishedContentCache, IApiContentResponseBuilder, IPublicAccessService)

    Declaration
    protected ContentApiItemControllerBase(IApiPublishedContentCache apiPublishedContentCache, IApiContentResponseBuilder apiContentResponseBuilder, IPublicAccessService publicAccessService)
    Parameters
    Type Name Description
    IApiPublishedContentCache apiPublishedContentCache
    IApiContentResponseBuilder apiContentResponseBuilder
    IPublicAccessService publicAccessService

    Methods

    View Source

    HandleMemberAccessAsync(IEnumerable<IPublishedContent>, IRequestMemberAccessService)

    Declaration
    protected async Task<IActionResult?> HandleMemberAccessAsync(IEnumerable<IPublishedContent> contentItems, IRequestMemberAccessService requestMemberAccessService)
    Parameters
    Type Name Description
    IEnumerable<IPublishedContent> contentItems
    IRequestMemberAccessService requestMemberAccessService
    Returns
    Type Description
    Task<System.Nullable<IActionResult>>
    View Source

    HandleMemberAccessAsync(IPublishedContent, IRequestMemberAccessService)

    Declaration
    protected async Task<IActionResult?> HandleMemberAccessAsync(IPublishedContent contentItem, IRequestMemberAccessService requestMemberAccessService)
    Parameters
    Type Name Description
    IPublishedContent contentItem
    IRequestMemberAccessService requestMemberAccessService
    Returns
    Type Description
    Task<System.Nullable<IActionResult>>
    View Source

    IsProtected(IPublishedContent)

    Declaration
    protected bool IsProtected(IPublishedContent content)
    Parameters
    Type Name Description
    IPublishedContent content
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentApiItemControllerBase(IApiPublishedContentCache, IApiContentResponseBuilder)
      • ContentApiItemControllerBase(IApiPublishedContentCache, IApiContentResponseBuilder, IPublicAccessService)
    • Methods
      • HandleMemberAccessAsync(IEnumerable<IPublishedContent>, IRequestMemberAccessService)
      • HandleMemberAccessAsync(IPublishedContent, IRequestMemberAccessService)
      • IsProtected(IPublishedContent)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX