示例#1
0
        public PipelineGraph(PluginGraph pluginGraph, IInstanceGraph instances, IPipelineGraph root,
            IObjectCache singletons, IObjectCache transients)
        {
            _pluginGraph = pluginGraph;
            _instances = instances;

            if (root == null)
            {
                _root = this;
                _profiles = new Profiles(_pluginGraph, this);
            }
            else
            {
                _root = root.Root();
                _profiles = root.Profiles;
            }

            _singletons = singletons;
            _transients = transients;
        }
示例#2
0
        public PipelineGraph(PluginGraph pluginGraph, IInstanceGraph instances, IPipelineGraph root,
                             IObjectCache singletons, IObjectCache transients)
        {
            _pluginGraph = pluginGraph;
            _instances   = instances;

            if (root == null)
            {
                _root     = this;
                _profiles = new Profiles(_pluginGraph, this);
            }
            else
            {
                _root     = root.Root();
                _profiles = root.Profiles;
            }

            _singletons = singletons;
            _transients = transients;
        }
示例#3
0
 public IPipelineGraph Root()
 {
     return(_parent.Root());
 }