Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoIndexConfig

    Represents the configuration settings for an Umbraco Examine index.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class UmbracoIndexConfig : IUmbracoIndexConfig

    Constructors

    View Source

    UmbracoIndexConfig(IPublicAccessService, IScopeProvider)

    Initializes a new instance of the UmbracoIndexConfig class with the specified public access service and scope provider.

    Declaration
    public UmbracoIndexConfig(IPublicAccessService publicAccessService, IScopeProvider scopeProvider)
    Parameters
    Type Name Description
    IPublicAccessService publicAccessService

    Service used to manage public access restrictions for content.

    IScopeProvider scopeProvider

    Provider for managing database transaction scopes.

    Properties

    View Source

    PublicAccessService

    Declaration
    protected IPublicAccessService PublicAccessService { get; }
    Property Value
    Type Description
    IPublicAccessService
    View Source

    ScopeProvider

    Declaration
    protected IScopeProvider ScopeProvider { get; }
    Property Value
    Type Description
    IScopeProvider

    Methods

    View Source

    GetContentValueSetValidator()

    Gets a content value set validator configured for use with content indexing.

    Declaration
    public IContentValueSetValidator GetContentValueSetValidator()
    Returns
    Type Description
    IContentValueSetValidator

    An instance of IContentValueSetValidator initialized with the current configuration and services.

    View Source

    GetMemberValueSetValidator()

    Returns the Examine.IValueSetValidator for the member indexer

    Declaration
    public IValueSetValidator GetMemberValueSetValidator()
    Returns
    Type Description
    IValueSetValidator
    View Source

    GetPublishedContentValueSetValidator()

    Gets the IContentValueSetValidator instance used to validate published content value sets.

    Declaration
    public IContentValueSetValidator GetPublishedContentValueSetValidator()
    Returns
    Type Description
    IContentValueSetValidator

    An IContentValueSetValidator configured for published content.

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