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

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

Open
eloisetaylor5693 opened this issue Nov 29, 2019 · 2 comments

Comments

@eloisetaylor5693
Copy link

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();
        }
    }
}
@stephenhaunts
Copy link
Owner

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

@eloisetaylor5693
Copy link
Author

Using the nuget package. 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