C# Class newtelligence.DasBlog.Web.Core.AkismetSpamBlockingService

Uses the Akismet service to determine if a comment is SPAM
http://akismet.com/
Inheritance: ISpamBlockingService
Afficher le fichier Open project: AArnott/dasblog

Méthodes publiques

Méthode Description
AkismetSpamBlockingService ( string apiKey, string blogUrl ) : System
IsSpam ( IFeedback feedback ) : bool
ReportNotSpam ( IFeedback feedback ) : void
ReportSpam ( IFeedback feedback ) : void

Private Methods

Méthode Description
ConvertToAkismetComment ( IFeedback feedback ) : Comment

Method Details

AkismetSpamBlockingService() public méthode

public AkismetSpamBlockingService ( string apiKey, string blogUrl ) : System
apiKey string
blogUrl string
Résultat System

IsSpam() public méthode

public IsSpam ( IFeedback feedback ) : bool
feedback IFeedback
Résultat bool

ReportNotSpam() public méthode

public ReportNotSpam ( IFeedback feedback ) : void
feedback IFeedback
Résultat void

ReportSpam() public méthode

public ReportSpam ( IFeedback feedback ) : void
feedback IFeedback
Résultat void