Method | Description | |
---|---|---|
AddComment ( |
Adds the comment to the all comments file.
|
|
CommentFile ( string contentBaseDirectory ) : System |
Creates a new instance of the CommentFile class.
|
|
DeleteComment ( string commentId ) : void | ||
GetLastCommentUpdate ( ) : System.DateTime |
Returns the last time the allcomments.xml file was writen too in UTC.
|
|
LoadComments ( ) : CommentCollection |
Loads the comment collection from the file system.
|
|
Rebuild ( ) : void | ||
UpdateComment ( |
Updates a comment in the all comments file.
|
Method | Description | |
---|---|---|
SaveComments ( CommentCollection comments ) : void |
public AddComment ( |
||
comment | The comment to add. | |
return | void |
public CommentFile ( string contentBaseDirectory ) : System | ||
contentBaseDirectory | string | The directory to load the content from. |
return | System |
public DeleteComment ( string commentId ) : void | ||
commentId | string | |
return | void |
public GetLastCommentUpdate ( ) : System.DateTime | ||
return | System.DateTime |
public UpdateComment ( |
||
comment | The new version of the comment. | |
return | void |