示例#1
0
        internal ConnectionManager(IPluginsLoader loader)
        {
            // RAS, // this protocol doesnt fit to the concept and seems to be broken
            var loaded = loader.Load();

            this.plugins = SortExternalPlugins(loaded);
        }
示例#2
0
        public PluginManager(Dictionary <string, MethodInfo> plugins)
        {
            InitializeComponent();
            Plugins = plugins;

            foreach (var plugin in plugins)
            {
                ListOfPlugins.Items.Add(plugin.Key);
            }

            _pluginsLoader = ContainerForUnity.MainContainer.Resolve <IPluginsLoader>();
            _changesInfo   = new ChangesInfo();
        }
        public void SetUp()
        {
            IPluginsLoader loader = PluginLoaderTests.CreateLoader(new string[0]);

            this.connectionManager = new ConnectionManager(loader);
        }
示例#4
0
 internal PluginsSelection(IPluginSettings settings, IPluginsLoader loader)
 {
     this.settings = settings;
     this.loader   = loader;
 }