C# Class OurUmbraco.Forum.AntiSpam.SpamChecker

Afficher le fichier Open project: umbraco/OurUmbraco

Méthodes publiques

Méthode Description
IsSpam ( IMember member, string body ) : bool
SendSlackSpamReport ( string postBody, int topicId, string commentType, int memberId ) : void

Private Methods

Méthode Description
CountValidLinks ( string href, int validLinksCount ) : int
IsSuspiciousBehavior ( string body ) : bool
NewAndPostsALot ( IMember member ) : bool
TextContainsSpam ( string text ) : bool

Method Details

IsSpam() public static méthode

public static IsSpam ( IMember member, string body ) : bool
member IMember
body string
Résultat bool

SendSlackSpamReport() public static méthode

public static SendSlackSpamReport ( string postBody, int topicId, string commentType, int memberId ) : void
postBody string
topicId int
commentType string
memberId int
Résultat void