Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentValueSetBuilder

    Builds Examine.ValueSets for IContent items

    Inheritance
    object
    BaseValueSetBuilder<IContent>
    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class ContentValueSetBuilder : BaseValueSetBuilder<IContent>, IContentValueSetBuilder, IPublishedContentValueSetBuilder, IValueSetBuilder<IContent>

    Constructors

    View Source

    ContentValueSetBuilder(PropertyEditorCollection, UrlSegmentProviderCollection, IUserService, IShortStringHelper, ICoreScopeProvider, bool, ILocalizationService, IContentTypeService, ILogger<ContentValueSetBuilder>, IDocumentUrlService, ILanguageService)

    Initializes a new instance of the ContentValueSetBuilder class.

    Declaration
    public ContentValueSetBuilder(PropertyEditorCollection propertyEditors, UrlSegmentProviderCollection urlSegmentProviders, IUserService userService, IShortStringHelper shortStringHelper, ICoreScopeProvider scopeProvider, bool publishedValuesOnly, ILocalizationService localizationService, IContentTypeService contentTypeService, ILogger<ContentValueSetBuilder> logger, IDocumentUrlService documentUrlService, ILanguageService languageService)
    Parameters
    Type Name Description
    PropertyEditorCollection propertyEditors

    A collection of property editors used for value extraction.

    UrlSegmentProviderCollection urlSegmentProviders

    A collection of URL segment providers for generating URL segments.

    IUserService userService

    The service used to manage users.

    IShortStringHelper shortStringHelper

    The helper used for generating and manipulating short strings.

    ICoreScopeProvider scopeProvider

    The provider for managing database scopes.

    bool publishedValuesOnly

    If set to true, only published values will be used.

    ILocalizationService localizationService

    The service used for localization and translations.

    IContentTypeService contentTypeService

    The service used to manage content types.

    ILogger<ContentValueSetBuilder> logger

    The logger used for logging information and errors.

    IDocumentUrlService documentUrlService

    The service used to generate document URLs.

    ILanguageService languageService

    The service used to manage languages.

    Methods

    View Source

    GetValueSets(params IContent[])

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

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