Rewrite plugin loader/updater to support loading from .zip and more complex versions.

This commit is contained in:
John Gross
2017-09-10 01:44:15 -07:00
parent 9471d83a45
commit 3fd7b66905
12 changed files with 280 additions and 187 deletions

View File

@@ -14,12 +14,12 @@ namespace Torch.API.Managers
/// <summary>
/// Fired when plugins are loaded.
/// </summary>
event Action<IList<ITorchPlugin>> PluginsLoaded;
event Action<ICollection<ITorchPlugin>> PluginsLoaded;
/// <summary>
/// Collection of loaded plugins.
/// </summary>
IList<ITorchPlugin> Plugins { get; }
IDictionary<Guid, ITorchPlugin> Plugins { get; }
/// <summary>
/// Updates all loaded plugins.