Ninject WithConstructorArgument : No matching bindings are available, and the type is not self-bindable
- by Jean-François Beauchamp
My understanding of WithConstructorArgument is probably erroneous, because the following is not working:
I have a service, lets call it MyService, whose constructor is taking multiple objects, and a string parameter called testEmail. For this string parameter, I added the following Ninject binding:
string testEmail = "test@example.com";…