Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
SaveComments ( CommentCollection comments ) : void |
public AddComment ( |
||
comment | The comment to add. | |
Результат | void |
public CommentFile ( string contentBaseDirectory ) : System | ||
contentBaseDirectory | string | The directory to load the content from. |
Результат | System |
public DeleteComment ( string commentId ) : void | ||
commentId | string | |
Результат | void |
public GetLastCommentUpdate ( ) : System.DateTime | ||
Результат | System.DateTime |
public LoadComments ( ) : CommentCollection | ||
Результат | CommentCollection |
public UpdateComment ( |
||
comment | The new version of the comment. | |
Результат | void |