C# Class SwearFilter.SwearChecker

Show file Open project: txdv/sharpmod Class Usage Examples

Public Methods

Method Description
Check ( string text ) : bool
SwearChecker ( SwearComposite list ) : System

Protected Methods

Method Description
Add ( ISwear swear ) : void
CheckLongSwearWords ( string text ) : bool
CheckShortSwearWords ( string text ) : bool
IgnoreChars ( string text ) : string

Method Details

Add() protected method

protected Add ( ISwear swear ) : void
swear ISwear
return void

Check() public method

public Check ( string text ) : bool
text string
return bool

CheckLongSwearWords() protected method

protected CheckLongSwearWords ( string text ) : bool
text string
return bool

CheckShortSwearWords() protected method

protected CheckShortSwearWords ( string text ) : bool
text string
return bool

IgnoreChars() protected method

protected IgnoreChars ( string text ) : string
text string
return string

SwearChecker() public method

public SwearChecker ( SwearComposite list ) : System
list SwearComposite
return System