View Source
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
public class MediaValueSetBuilder : BaseValueSetBuilder<IMedia>, IValueSetBuilder<IMedia>
Constructors
View Source
MediaValueSetBuilder(PropertyEditorCollection, UrlSegmentProviderCollection, MediaUrlGeneratorCollection, IUserService, IShortStringHelper, IOptions<ContentSettings>)
Declaration
public MediaValueSetBuilder(PropertyEditorCollection propertyEditors, UrlSegmentProviderCollection urlSegmentProviders, MediaUrlGeneratorCollection mediaUrlGenerators, IUserService userService, IShortStringHelper shortStringHelper, IOptions<ContentSettings> contentSettings)
Parameters
View Source
MediaValueSetBuilder(PropertyEditorCollection, UrlSegmentProviderCollection, MediaUrlGeneratorCollection, IUserService, IShortStringHelper, IOptions<ContentSettings>, IContentTypeService)
Declaration
public MediaValueSetBuilder(PropertyEditorCollection propertyEditors, UrlSegmentProviderCollection urlSegmentProviders, MediaUrlGeneratorCollection mediaUrlGenerators, IUserService userService, IShortStringHelper shortStringHelper, IOptions<ContentSettings> contentSettings, IContentTypeService contentTypeService)
Parameters
Methods
View Source
Creates a collection of to be indexed based on a collection of T
.
Declaration
public override IEnumerable<ValueSet> GetValueSets(params IMedia[] media)
Parameters
Type |
Name |
Description |
IMedia[] |
media |
|
Returns
Type |
Description |
IEnumerable<ValueSet> |
|