public ILifecycle DetermineLifecycle(Type pluginType, Instance instance)
        {
            // Need to force the build plan to be created here.
            if (!instance.HasBuildPlan())
            {
                instance.ApplyAllPolicies(pluginType, Policies);
            }
            

            return instance.DetermineLifecycle(_instances.DefaultLifecycleFor(pluginType));
        }
Example #2
0
 public ILifecycle DetermineLifecycle(Type pluginType, Instance instance)
 {
     return instance.DetermineLifecycle(_instances.DefaultLifecycleFor(pluginType));
 }