C# Класс BetterCms.Module.MediaManager.Services.DefaultTagService

Helper service for handling media tags.
Наследование: ITagService
Показать файл Открыть проект

Открытые методы

Метод Описание
DefaultTagService ( IUnitOfWork unitOfWork, ISecurityService securityService ) : System

Initializes a new instance of the DefaultTagService class.

GetMediaTagNames ( System mediaId ) : IList

Gets the media tag names.

SaveMediaTags ( Media media, IEnumerable tags, IList &newCreatedTags ) : void

Saves the media tags.

Приватные методы

Метод Описание
UpdateModifiedInformation ( MediaTag mediaTag ) : void

Описание методов

DefaultTagService() публичный Метод

Initializes a new instance of the DefaultTagService class.
public DefaultTagService ( IUnitOfWork unitOfWork, ISecurityService securityService ) : System
unitOfWork IUnitOfWork The unit of work.
securityService ISecurityService Security service get information about authorization.
Результат System

GetMediaTagNames() публичный Метод

Gets the media tag names.
public GetMediaTagNames ( System mediaId ) : IList
mediaId System The media id.
Результат IList

SaveMediaTags() публичный Метод

Saves the media tags.
public SaveMediaTags ( Media media, IEnumerable tags, IList &newCreatedTags ) : void
media Media The media.
tags IEnumerable The tags.
newCreatedTags IList The new created tags.
Результат void