C# Класс FourRoads.Common.TelligentCommunity.Components.Logic.ContentLogic

Наследование: IContentLogic
Показать файл Открыть проект

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

Метод Описание
ContentLogic ( IContentService contentService, IAttachmentService attachmentService, ILegacyContentService legacyContentService, IFileViewerService fileViewerService ) : System
GetAllImageUrls ( System.Guid contentId ) : IEnumerable
GetAllVideoUrls ( System.Guid contentId ) : IEnumerable
GetBestImageUrl ( System.Guid contentId ) : string
GetFirstVideoUrl ( System.Guid contentId ) : string
ParseImagesFromContent ( string content ) : List
ParseVideosFromContent ( string content ) : List

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

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

public ContentLogic ( IContentService contentService, IAttachmentService attachmentService, ILegacyContentService legacyContentService, IFileViewerService fileViewerService ) : System
contentService IContentService
attachmentService IAttachmentService
legacyContentService ILegacyContentService
fileViewerService IFileViewerService
Результат System

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

public GetAllImageUrls ( System.Guid contentId ) : IEnumerable
contentId System.Guid
Результат IEnumerable

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

public GetAllVideoUrls ( System.Guid contentId ) : IEnumerable
contentId System.Guid
Результат IEnumerable

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

public GetBestImageUrl ( System.Guid contentId ) : string
contentId System.Guid
Результат string

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

public GetFirstVideoUrl ( System.Guid contentId ) : string
contentId System.Guid
Результат string

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

public ParseImagesFromContent ( string content ) : List
content string
Результат List

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

public ParseVideosFromContent ( string content ) : List
content string
Результат List