mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
feat: enhance plugin dependency management in PluginLoader
This commit is contained in:
committed by
Andrew Welker
parent
7591913a9c
commit
a99b0a1fac
@@ -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;
|
||||||
@@ -672,7 +672,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