// This is where all Creation happens
        public virtual object FindObject(Type pluginType, Instance instance)
        {
            RootType = instance.ReturnedType;
            var lifecycle = pipelineGraph.DetermineLifecycle(pluginType, instance);

            return(_sessionCache.GetObject(pluginType, instance, lifecycle));
        }
Beispiel #2
0
 // This is where all Creation happens
 public virtual object FindObject(Type pluginType, Instance instance)
 {
     return(_sessionCache.GetObject(pluginType, instance));
 }