Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IContentValueSetValidator

    An extended Examine.IValueSetValidator for content indexes

    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IContentValueSetValidator : IValueSetValidator

    Properties

    View Source

    ParentId

    Gets the identifier of the parent content item, if available.

    Declaration
    int? ParentId { get; }
    Property Value
    Type Description
    int?
    View Source

    PublishedValuesOnly

    When set to true the index will only retain published values

    Declaration
    bool PublishedValuesOnly { get; }
    Property Value
    Type Description
    bool
    Remarks

    Any non-published values will not be put or kept in the index:

    • Deleted, Trashed, non-published Content items
    • non-published Variants
    View Source

    SupportProtectedContent

    If true, protected content will be indexed otherwise it will not be put or kept in the index

    Declaration
    bool SupportProtectedContent { get; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    ValidatePath(string, string)

    Determines whether the specified path is valid for the given category.

    Declaration
    bool ValidatePath(string path, string category)
    Parameters
    Type Name Description
    string path

    The path to validate.

    string category

    The category to validate the path against.

    Returns
    Type Description
    bool

    true if the path is valid for the category; otherwise, false.

    View Source

    ValidateProtectedContent(string, string)

    Determines whether the content at the specified path and category should be considered protected.

    Declaration
    bool ValidateProtectedContent(string path, string category)
    Parameters
    Type Name Description
    string path

    The path of the content to check.

    string category

    The category of the content to check.

    Returns
    Type Description
    bool

    true if the content is considered protected; otherwise, false.

    View Source

    ValidateRecycleBin(string, string)

    Determines whether the specified path and category refer to a recycle bin.

    Declaration
    bool ValidateRecycleBin(string path, string category)
    Parameters
    Type Name Description
    string path

    The content path to check.

    string category

    The content category to check.

    Returns
    Type Description
    bool

    true if the path and category represent a recycle bin; otherwise, false.

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