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.
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
Properties
View Source
PublishedValuesOnly
Declaration
protected bool PublishedValuesOnly { get; }
Property Value
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> |
|