Method | Description | |
---|---|---|
AddComment ( int forumId, int authorUserId, string title, string description, string linkUrl, string commentText, int commentUserId, string commentUserIpAddress ) : int |
Adds a comment to the given forum as a new thread with the article description being the first post, and the comment being a reply.
|
|
GetInstance ( int portalId ) : |
Gets the ForumProvider instance for this portalId.
|
|
GetThreadUrl ( int threadId ) : string |
Gets a URL to the forum thread which holds discussions for an article.
|
Method | Description | |
---|---|---|
ForumProvider ( int portalId ) : System |
Method | Description | |
---|---|---|
GetForums ( ) : string>.Dictionary |
public abstract AddComment ( int forumId, int authorUserId, string title, string description, string linkUrl, string commentText, int commentUserId, string commentUserIpAddress ) : int | ||
forumId | int | The ID of the forum in which to post the new thread. |
authorUserId | int | The user ID of the author of the article. |
title | string | The title of the article, to be used as the main body of the initial post in the thread. |
description | string | The description of the article, to be used as the main body of the initial post in the thread. |
linkUrl | string | A URL pointing to the article. |
commentText | string | The comment text. |
commentUserId | int | The user ID of the person creating the comment. |
commentUserIpAddress | string | The IP address of the user posting a comment. |
return | int |
protected ForumProvider ( int portalId ) : System | ||
portalId | int | |
return | System |
public static GetInstance ( int portalId ) : |
||
portalId | int | The portal id. |
return |
public abstract GetThreadUrl ( int threadId ) : string | ||
threadId | int | The ID of the requested forum thread. |
return | string |