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

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

Public Methods

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

Private Methods

Method Description
ConvertToAkismetComment ( IFeedback feedback ) : Comment

Method Details

AkismetSpamBlockingService() public method

public AkismetSpamBlockingService ( string apiKey, string blogUrl ) : System
apiKey string
blogUrl string
return System

IsSpam() public method

public IsSpam ( IFeedback feedback ) : bool
feedback IFeedback
return bool

ReportNotSpam() public method

public ReportNotSpam ( IFeedback feedback ) : void
feedback IFeedback
return void

ReportSpam() public method

public ReportSpam ( IFeedback feedback ) : void
feedback IFeedback
return void