Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

None of the XML comments show in intellisense #4

Open
eloisetaylor5693 opened this issue Nov 29, 2019 · 1 comment
Open

None of the XML comments show in intellisense #4

eloisetaylor5693 opened this issue Nov 29, 2019 · 1 comment

Comments

@eloisetaylor5693
Copy link

When installing ProfanityDetector nuget package, the XML comments don't show in intelisense

image
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

@stephenhaunts
Copy link
Owner

I will take a look. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants