C# Class Orchard.AntiSpam.Services.AkismetApiSpamFilter

Inheritance: ISpamFilter
Mostrar archivo Open project: ucdavis/Orchard Class Usage Examples

Public Methods

Method Description
AkismetApiSpamFilter ( string endpoint, string apiKey, System.Web.HttpContextBase context ) : System
CheckForSpam ( string text ) : SpamStatus
ReportHam ( string text ) : void
ReportSpam ( string text ) : void

Private Methods

Method Description
ExecuteValidateRequest ( string text, string action ) : string
HandleValidateResponse ( System.Web.HttpContextBase context, string response ) : bool

Method Details

AkismetApiSpamFilter() public method

public AkismetApiSpamFilter ( string endpoint, string apiKey, System.Web.HttpContextBase context ) : System
endpoint string
apiKey string
context System.Web.HttpContextBase
return System

CheckForSpam() public method

public CheckForSpam ( string text ) : SpamStatus
text string
return SpamStatus

ReportHam() public method

public ReportHam ( string text ) : void
text string
return void

ReportSpam() public method

public ReportSpam ( string text ) : void
text string
return void