메소드 | 설명 | |
---|---|---|
Censor ( IEnumerable |
Initializes a new instance of the Censored.Censor class.
|
|
CensorText ( string text ) : string |
Censors the text and replaces dirty words with ****
|
|
HasCensoredWord ( string text ) : bool |
Determines whether the text is dirty (has a bad word in it).
|
메소드 | 설명 | |
---|---|---|
StarCensoredMatch ( |
||
ToRegexPattern ( string wildcardSearch ) : string |
public Censor ( IEnumerable |
||
censoredWords | IEnumerable |
Censored words, if null uses default list |
리턴 | System |
public HasCensoredWord ( string text ) : bool | ||
text | string | Text to check for dirty words. |
리턴 | bool |