Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
FlagAsSpam ( |
||
IsDuplicateComment ( |
||
SourceFrequencyIsValid ( |
public CommentFilter ( Cache cache ) : System | ||
cache | Cache | |
Résultat | System |
public FilterAfterPersist ( |
||
feedbackItem | Entry. | |
Résultat | void |
public FilterBeforePersist ( |
||
feedback | ||
Résultat | void |