ProfanityDetector icon indicating copy to clipboard operation
ProfanityDetector copied to clipboard

Namespace being the same as the class name seems to be causing imports to not work as expected

Open eloisetaylor5693 opened this issue 6 years ago • 2 comments

After downloading the package I was forced to use the package like this: var filter = new ProfanityFilter.ProfanityFilter();

Expected syntax didn't compile:

using NUnit.Framework;
using ProfanityFilter;

namespace ProfanityPoc
{
    public class ProfanityDetectorTests
    {
        [Test]
        public void Test1()
        {
            var filter = new ProfanityFilter();
            Assert.That();
        }
    }
}

eloisetaylor5693 avatar Nov 29 '19 14:11 eloisetaylor5693

Thanks. I will take a look. This is using the nugget package directly instead of from source?

stephenhaunts avatar Nov 30 '19 13:11 stephenhaunts

Using the nuget package. Thanks :-)

eloisetaylor5693 avatar Nov 30 '19 17:11 eloisetaylor5693