C# 클래스 FourRoads.Common.TelligentCommunity.Components.Logic.ContentLogic

상속: IContentLogic
파일 보기 프로젝트 열기: 4-Roads/FourRoads.TelligentCommunity

공개 메소드들

메소드 설명
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