Class MediaMapDefinition
Declares model mappings for media.
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Mapping
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class MediaMapDefinition : IMapDefinition
Constructors
View SourceMediaMapDefinition(ICultureDictionary, CommonMapper, CommonTreeNodeMapper, IMediaService, IMediaTypeService, ILocalizedTextService, MediaUrlGeneratorCollection, IOptions<ContentSettings>, IContentTypeBaseServiceProvider)
Declaration
public MediaMapDefinition(ICultureDictionary cultureDictionary, CommonMapper commonMapper, CommonTreeNodeMapper commonTreeNodeMapper, IMediaService mediaService, IMediaTypeService mediaTypeService, ILocalizedTextService localizedTextService, MediaUrlGeneratorCollection mediaUrlGenerators, IOptions<ContentSettings> contentSettings, IContentTypeBaseServiceProvider contentTypeBaseServiceProvider)
Parameters
Type | Name | Description |
---|---|---|
ICultureDictionary | cultureDictionary | |
CommonMapper | commonMapper | |
CommonTreeNodeMapper | commonTreeNodeMapper | |
IMediaService | mediaService | |
IMediaTypeService | mediaTypeService | |
ILocalizedTextService | localizedTextService | |
MediaUrlGeneratorCollection | mediaUrlGenerators | |
Microsoft.Extensions.Options.IOptions<ContentSettings> | contentSettings | |
IContentTypeBaseServiceProvider | contentTypeBaseServiceProvider |
Methods
View SourceDefineMaps(IUmbracoMapper)
Declaration
public void DefineMaps(IUmbracoMapper mapper)
Parameters
Type | Name | Description |
---|---|---|
IUmbracoMapper | mapper |