Helper class for bad words.
Inheritance Hierarchy
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 8.2.23
Syntaxpublic static class BadWordsHelper
The BadWordsHelper type exposes the following members.
Methods
| Name | Description |
---|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | BadWordsAction |
Gets default action for the bad words from the settings.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | BadWordsReplacement |
Gets default replacement for the bad words from the settings.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | CheckBadWords(GeneralizedInfo, DictionaryString, Int32, Int32) | Obsolete.
Performs bad words check.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | CheckBadWords(GeneralizedInfo, DictionaryString, Int32, Int32, FuncBoolean) |
Performs bad words check.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | CheckBadWords(GeneralizedInfo, DictionaryString, Int32, String, String, Int32) | Obsolete.
Performs bad words check.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | CheckBadWords(GeneralizedInfo, DictionaryString, Int32, String, String, Int32, FuncBoolean) |
Performs bad words check.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | CheckBadWords(GeneralizedInfo, DictionaryString, Int32, String, String, String, Int32) | Obsolete.
Performs bad words check.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | CheckBadWords(GeneralizedInfo, DictionaryString, Int32, String, String, String, Int32, FuncBoolean) |
Performs bad words check.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | CheckBadWords(GeneralizedInfo, DictionaryString, Int32, String, String, String, String, Int32, FuncBoolean) |
Performs bad words check.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | PerformBadWordsCheck |
Indicates if the bad words check should be performed.
|
Top
Properties
| Name | Description |
---|
![Public property Public property](../icons/pubproperty.gif) ![Static member Static member](../icons/static.gif) | DefaultReplacement |
Default replacement for 'replace' action. It is used when replaced string has greater size than maximum limit.
|
Top
See Also