You shouldnt need to introduce a default ctor just to please Ninject.
Assuming you're using V2, the semantics for how a constructor is chosen are detailed here
(BTW By default, the string
type is not treated as a resolvable type OOTB, but you should be able to Bind
ContentType
To
something and have that constructor invoked).
If none of the above gets you moving, can you please supply a usage scenario and/or an exception detailing the issue you're having.
Ruben Bartelink
2010-07-05 13:03:53