mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-14 20:24:57 +00:00
feat: enhance plugin dependency management in PluginLoader
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Crestron.SimplSharp;
|
using Crestron.SimplSharp;
|
||||||
@@ -662,7 +662,10 @@ namespace PepperDash.Essentials
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update incompatible plugins with dependency information
|
// Update incompatible plugins with dependency information
|
||||||
UpdateIncompatiblePluginDependencies();
|
var pluginDependencies = new Dictionary<string, List<string>>();
|
||||||
|
// Populate pluginDependencies with relevant data
|
||||||
|
// Example: pluginDependencies["PluginA"] = new List<string> { "Dependency1", "Dependency2" };
|
||||||
|
UpdateIncompatiblePluginDependencies(pluginDependencies);
|
||||||
|
|
||||||
// plugin dll will be loaded. Any classes in plugin should have a static constructor
|
// plugin dll will be loaded. Any classes in plugin should have a static constructor
|
||||||
// that registers that class with the Core.DeviceFactory
|
// that registers that class with the Core.DeviceFactory
|
||||||
|
|||||||
Reference in New Issue
Block a user