Метод | Описание | |
---|---|---|
ClearCommentCache ( ) : void |
Clears the comment cache.
|
|
CommentFilter ( Cache cache ) : System |
Initializes a new instance of the CommentFilter class.
|
|
FilterAfterPersist ( |
Filters the comment. Throws an exception should the comment not be allowed. Otherwise returns true. This interface may be changed. The first filter examines whether comments are coming in too quickly from the same SourceUrl. Looks at the BlogInfo.CommentDelayInMinutes. The second filter checks for duplicate comments. It only looks at the body of the comment. |
|
FilterBeforePersist ( |
Validates the feedback before it has been persisted.
|
Метод | Описание | |
---|---|---|
FlagAsSpam ( |
||
IsDuplicateComment ( |
||
SourceFrequencyIsValid ( |
public CommentFilter ( Cache cache ) : System | ||
cache | Cache | |
Результат | System |
public FilterAfterPersist ( |
||
feedbackItem | Entry. | |
Результат | void |
public FilterBeforePersist ( |
||
feedback | ||
Результат | void |