C# Class MovingScrewdriver.Web.Services.AkismetService

Inheritance: IAkismetService
Mostrar archivo Open project: Gutek/MovingScrewdriver

Public Methods

Method Description
AkismetService ( IDocumentStore store ) : System
CheckForSpam ( PostComments comment ) : bool
SubmitHam ( PostComments comment ) : void
SubmitSpam ( PostComments comment ) : void

Private Methods

Method Description
get_api ( ) : IValidator
get_comment ( PostComments comment ) : Comment

Method Details

AkismetService() public method

public AkismetService ( IDocumentStore store ) : System
store IDocumentStore
return System

CheckForSpam() public method

public CheckForSpam ( PostComments comment ) : bool
comment MovingScrewdriver.Web.Models.PostComments
return bool

SubmitHam() public method

public SubmitHam ( PostComments comment ) : void
comment MovingScrewdriver.Web.Models.PostComments
return void

SubmitSpam() public method

public SubmitSpam ( PostComments comment ) : void
comment MovingScrewdriver.Web.Models.PostComments
return void