Exemple #1
0
        public GraphBuilder(Registry[] registries, PluginGraph pluginGraph)
        {
            _pluginGraph     = pluginGraph;
            _assemblyScanner = new AssemblyScanner();
            _pluginGraph.AddScanner(_assemblyScanner);

            foreach (Registry registry in registries)
            {
                registry.ConfigurePluginGraph(_pluginGraph);
            }

            _systemGraph     = new SystemRegistry().Build();
            _systemContainer = new Container(_systemGraph);
        }