I have a class (named A) which uses another class (named B) as one of it's constructor's arguments by Opennetcf's IoC Dependency Injection.
the problem is when my application starts , class B's constructor is called twice.
Class A's constructor :
[InjectionConstructor]
public MyService([CreateNew]ClassB classb)
{
_classb = classb;
}
I also load Class B by the "Load" method in the RootWorkItem collection.
any helps appreciated