C# Class FourRoads.Common.TelligentCommunity.Components.Logic.ContentLogic

Inheritance: IContentLogic
Afficher le fichier Open project: 4-Roads/FourRoads.TelligentCommunity

Méthodes publiques

Méthode Description
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

Method Details

ContentLogic() public méthode

public ContentLogic ( IContentService contentService, IAttachmentService attachmentService, ILegacyContentService legacyContentService, IFileViewerService fileViewerService ) : System
contentService IContentService
attachmentService IAttachmentService
legacyContentService ILegacyContentService
fileViewerService IFileViewerService
Résultat System

GetAllImageUrls() public méthode

public GetAllImageUrls ( System.Guid contentId ) : IEnumerable
contentId System.Guid
Résultat IEnumerable

GetAllVideoUrls() public méthode

public GetAllVideoUrls ( System.Guid contentId ) : IEnumerable
contentId System.Guid
Résultat IEnumerable

GetBestImageUrl() public méthode

public GetBestImageUrl ( System.Guid contentId ) : string
contentId System.Guid
Résultat string

GetFirstVideoUrl() public méthode

public GetFirstVideoUrl ( System.Guid contentId ) : string
contentId System.Guid
Résultat string

ParseImagesFromContent() public méthode

public ParseImagesFromContent ( string content ) : List
content string
Résultat List

ParseVideosFromContent() public méthode

public ParseVideosFromContent ( string content ) : List
content string
Résultat List