Exemple #1
0
        public IPipelineGraph NewChild(PluginGraph parent)
        {
            var childGraph = parent.NewChild();

            var instances = new ComplexInstanceGraph(_root, childGraph, ContainerRole.ProfileOrChild);

            var transientTracking = parent.TransientTracking == TransientTracking.DefaultNotTrackedAtRoot ? _root.Transients : new TrackingTransientCache();

            return(new PipelineGraph(childGraph, instances, _root, _root.Singletons, transientTracking));
        }