Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IPublishedStatusFilteringService

    Provides filtering operations to determine which published content items are available for display.

    Namespace: Umbraco.Cms.Core.Services.Navigation
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IPublishedStatusFilteringService

    Methods

    View Source

    FilterAvailable(IEnumerable<Guid>, string?)

    Filters a collection of candidate content keys to return only those that are available for display.

    Declaration
    IEnumerable<IPublishedContent> FilterAvailable(IEnumerable<Guid> candidateKeys, string? culture)
    Parameters
    Type Name Description
    IEnumerable<Guid> candidateKeys

    The collection of content keys to filter.

    string culture

    The culture to filter by, or null to use the current culture context.

    Returns
    Type Description
    IEnumerable<IPublishedContent>

    A collection of IPublishedContent items that are available for display.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX