Plugin system working, Windows service and command system in progress

This commit is contained in:
John Gross
2017-01-05 02:49:43 -08:00
parent e0a4ee9ce0
commit 4949982fa8
24 changed files with 352 additions and 132 deletions

View File

@@ -9,12 +9,14 @@ namespace Torch.API
public class PluginAttribute : Attribute
{
public string Name { get; }
public bool Reloadable { get; }
public Version Version { get; }
public Guid Guid { get; }
public PluginAttribute(string name, bool reloadable = false)
public PluginAttribute(string name, string version, string guid)
{
Name = name;
Reloadable = reloadable;
Version = Version.Parse(version);
Guid = Guid.Parse(guid);
}
}
}