take greater advantage of the container, when extending the container itself
Do not use special extension points for anything other than Facilities
and Subsystems.
For things like IModelInterceptorSelectors, etc just have them
registered into the container
and resolve them as needed, much like ILazyComponentLoaders are handled.
11
votes
1 comment
-
Mark Seemann
commented
I second this. For example ILifestyleManager can only be implemented with a default constructor, whereafter we have to use butt-ugly method injection (via the Init method) if we want to inject services.