You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing ProfanityDetector nuget package, the XML comments don't show in intelisense
But I see in your sourcecode there's plenty of useful information:
/// <summary>
/// Check whether a specific word is in the profanity list. IsProfanity will first
/// check if the word exists on the whitelist. If it is on the whitelist, then false
/// will be returned.
/// </summary>
/// <param name="word">The word to check in the profanity list.</param>
/// <returns>True if the word is considered a profanity, False otherwise.</returns>
public bool IsProfanity(string word)
{
if (string.IsNullOrEmpty(word))
{
return false;
}
// Check if the word is in the whitelist.
if (WhiteList.Contains(word.ToLower(CultureInfo.InvariantCulture)))
{
return false;
}
return _profanities.Contains(word.ToLower(CultureInfo.InvariantCulture));
}
Using VS2019 Professional
The text was updated successfully, but these errors were encountered:
When installing
ProfanityDetector
nuget package, the XML comments don't show in intelisenseBut I see in your sourcecode there's plenty of useful information:
Using VS2019 Professional
The text was updated successfully, but these errors were encountered: