Search Results for

    Show / Hide Table of Contents
    View Source

    Class BaseValueSetBuilder<TContent>

    Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class BaseValueSetBuilder<TContent> : IValueSetBuilder<TContent> where TContent : IContentBase
    Type Parameters
    Name Description
    TContent

    Constructors

    View Source

    BaseValueSetBuilder(PropertyEditorCollection, bool)

    Declaration
    protected BaseValueSetBuilder(PropertyEditorCollection propertyEditors, bool publishedValuesOnly)
    Parameters
    Type Name Description
    PropertyEditorCollection propertyEditors
    bool publishedValuesOnly

    Properties

    View Source

    PublishedValuesOnly

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

    Methods

    View Source

    AddPropertyValue(IProperty, string?, string?, IDictionary<string, IEnumerable<object?>>?, IEnumerable<string>, IDictionary<Guid, IContentType>)

    Declaration
    protected void AddPropertyValue(IProperty property, string? culture, string? segment, IDictionary<string, IEnumerable<object?>>? values, IEnumerable<string> availableCultures, IDictionary<Guid, IContentType> contentTypeDictionary)
    Parameters
    Type Name Description
    IProperty property
    string culture
    string segment
    IDictionary<string, IEnumerable<object>> values
    IEnumerable<string> availableCultures
    IDictionary<Guid, IContentType> contentTypeDictionary
    View Source

    GetValueSets(params TContent[])

    Creates a collection of Examine.ValueSet to be indexed based on a collection of T.

    Declaration
    public abstract IEnumerable<ValueSet> GetValueSets(params TContent[] content)
    Parameters
    Type Name Description
    TContent[] content
    Returns
    Type Description
    IEnumerable<ValueSet>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX