ninject-3 Questions
2
Solved
I have a class with a constructor having a parameter with a default value. With Ninject 2.2, it would honor the [Optional] attribute and work fine with no binding defined against a constructor decl...
4
Solved
I'm using Ninject.Extensions.Factory with Ninject 3 to create a factory, which creates different types of IFoo based on the string provided to the factory. I've got a passing unit test, but oddly, ...
Bilbo asked 15/5, 2012 at 12:52
2
Solved
If you request an unbound object from NInject, then the default behaviour is (if a suitable constructor is available) appears to be to create an instance of the appropriate object.
I'd like to dis...
1
Solved
I'm trying to expand on the scenario asked in the SO question titled Ninject Factory Extension Bind Multiple Concrete Types To One Interface by using Ninject Conventions for convention-based bindi...
Calorifacient asked 7/4, 2013 at 22:54
1
Solved
I have the following (simplified) situation: I have two interfaces
interface IAmAnInterface
{
void DoSomething();
}
and
interface IAmAnInterfaceToo
{
void DoSomethingElse();
}
and a class i...
Subhead asked 18/4, 2012 at 8:56
1
© 2022 - 2024 — McMap. All rights reserved.