internal T ActivateExplicit_ThisScope <T>(int targetId, Func <ResolveContext, T> instanceFactory)
 {
     if (!_scope._canActivate)
     {
         throw new NotSupportedException("No scope explicitly created; either resolve from a new scope; or use ScopedContainer");
     }
     return(_scope.ActivateExplicit(this, targetId, instanceFactory));
 }
Beispiel #2
0
 internal override T ActivateExplicit <T>(ResolveContext context, int targetId, Func <ResolveContext, T> instanceFactory)
 {
     return(_inner.ActivateExplicit(context, targetId, instanceFactory));
 }