Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberValueSetBuilder

    Provides functionality to build value sets for member entities, enabling them to be indexed by Examine.

    Inheritance
    object
    BaseValueSetBuilder<IMember>
    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class MemberValueSetBuilder : BaseValueSetBuilder<IMember>, IValueSetBuilder<IMember>
    Remarks

    Values of properties marked as sensitive on the member type are not included, as an index has no means of restricting them to users with access to sensitive data.

    Constructors

    View Source

    MemberValueSetBuilder(PropertyEditorCollection, IContentTypeService)

    Initializes a new instance of the MemberValueSetBuilder class with the specified property editors and content type service.

    Declaration
    [Obsolete("Please use the constructor with all parameters. Scheduled for removal in Umbraco 20.")]
    public MemberValueSetBuilder(PropertyEditorCollection propertyEditors, IContentTypeService contentTypeService)
    Parameters
    Type Name Description
    PropertyEditorCollection propertyEditors

    A PropertyEditorCollection representing the collection of property editors to use.

    IContentTypeService contentTypeService

    An IContentTypeService used to access content type information.

    View Source

    MemberValueSetBuilder(PropertyEditorCollection, IContentTypeService, IMemberTypeService)

    Initializes a new instance of the MemberValueSetBuilder class.

    Declaration
    public MemberValueSetBuilder(PropertyEditorCollection propertyEditors, IContentTypeService contentTypeService, IMemberTypeService memberTypeService)
    Parameters
    Type Name Description
    PropertyEditorCollection propertyEditors

    A PropertyEditorCollection representing the collection of property editors to use.

    IContentTypeService contentTypeService

    An IContentTypeService used to access content type information.

    IMemberTypeService memberTypeService

    An IMemberTypeService used to determine which member properties are sensitive.

    Methods

    View Source

    GetValueSets(params IMember[])

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

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