mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Adds back in the plugin interfaces. Modifies PluginLoader to try new inteface method for custom plugins first, then fail back to legacy method
This commit is contained in:
parent
1418e8f8c6
commit
a2ca41d965
8 changed files with 89 additions and 710 deletions
|
|
@ -3,9 +3,13 @@ using PepperDash.Essentials.Core.Config;
|
|||
|
||||
namespace PepperDash.Essentials.Core.Plugins
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines a class that is capable of loading custom plugin device types
|
||||
/// </summary>
|
||||
public interface IPluginDeviceConfig
|
||||
{
|
||||
string MinimumEssentialsFrameworkVersion { get; }
|
||||
void LoadPlugin();
|
||||
IKeyed BuildDevice(DeviceConfig dc);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue