C# Class Orchard.Disqus.Services.DisqusMappingService

Inheritance: IDisqusMappingService
显示文件 Open project: jkernech/Orchard.Disqus

Public Methods

Method Description
CreateCommentFromPost ( int contentId, Orchard.Disqus.Models.DisqusPost post ) : bool
DisqusMappingService ( IOrchardServices orchardServices, ICommentService commentService, IRepository threadMappingRepository, IRepository postMappingRepository ) : System.Linq
GetContentIdForThreadId ( string threadId ) : int
MapThreadIdToContentId ( string threadId, int contentId, string validSlug ) : bool

Method Details

CreateCommentFromPost() public method

public CreateCommentFromPost ( int contentId, Orchard.Disqus.Models.DisqusPost post ) : bool
contentId int
post Orchard.Disqus.Models.DisqusPost
return bool

DisqusMappingService() public method

public DisqusMappingService ( IOrchardServices orchardServices, ICommentService commentService, IRepository threadMappingRepository, IRepository postMappingRepository ) : System.Linq
orchardServices IOrchardServices
commentService ICommentService
threadMappingRepository IRepository
postMappingRepository IRepository
return System.Linq

GetContentIdForThreadId() public method

public GetContentIdForThreadId ( string threadId ) : int
threadId string
return int

MapThreadIdToContentId() public method

public MapThreadIdToContentId ( string threadId, int contentId, string validSlug ) : bool
threadId string
contentId int
validSlug string
return bool