BuildRoot() public static method

public static BuildRoot ( StructureMap.Graph.PluginGraph pluginGraph ) : IPipelineGraph
pluginGraph StructureMap.Graph.PluginGraph
return IPipelineGraph
Example #1
0
        public static BuildSession ForPluginGraph(PluginGraph graph, ExplicitArguments args = null)
        {
            var pipeline = PipelineGraph.BuildRoot(graph);

            return(new BuildSession(pipeline, args: args));
        }
Example #2
0
 /// <summary>
 ///     Constructor to create an Container
 /// </summary>
 /// <param name="pluginGraph">
 ///     PluginGraph containing the instance and type definitions
 ///     for the Container
 /// </param>
 public Container(PluginGraph pluginGraph) : this(PipelineGraph.BuildRoot(pluginGraph))
 {
 }