View Source
Class BaseValueSetBuilder<TContent>
Creates a collection of to be indexed based on a collection of
Inheritance
System.Object
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, Boolean)
Declaration
protected BaseValueSetBuilder(PropertyEditorCollection propertyEditors, bool publishedValuesOnly)
Parameters
Properties
View Source
PublishedValuesOnly
Declaration
protected bool PublishedValuesOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
View Source
AddPropertyValue(IProperty, String, String, Nullable<IDictionary<String, IEnumerable<Object>>>)
Declaration
protected void AddPropertyValue(IProperty property, string culture, string segment, IDictionary<string, IEnumerable<object>>? values)
Parameters
Type |
Name |
Description |
IProperty |
property |
|
System.String |
culture |
|
System.String |
segment |
|
System.Nullable<IDictionary<System.String, IEnumerable<System.Object>>> |
values |
|
View Source
AddPropertyValue(IProperty, String, String, Nullable<IDictionary<String, IEnumerable<Object>>>, IEnumerable<String>)
Declaration
protected void AddPropertyValue(IProperty property, string culture, string segment, IDictionary<string, IEnumerable<object>>? values, IEnumerable<string> availableCultures)
Parameters
Type |
Name |
Description |
IProperty |
property |
|
System.String |
culture |
|
System.String |
segment |
|
System.Nullable<IDictionary<System.String, IEnumerable<System.Object>>> |
values |
|
IEnumerable<System.String> |
availableCultures |
|
View Source
GetValueSets(TContent[])
Creates a collection of to be indexed based on a collection of
Declaration
public abstract IEnumerable<ValueSet> GetValueSets(params TContent[] content)
Parameters
Type |
Name |
Description |
TContent[] |
content |
|
Returns
Type |
Description |
IEnumerable<ValueSet> |
|