Exclude abstract types from plugin scan

This commit is contained in:
Brant Martin
2019-06-13 09:53:09 -04:00
parent 2fb9b4173a
commit 353746ec04

View File

@@ -385,6 +385,9 @@ namespace Torch.Managers
if (!type.GetInterfaces().Contains(typeof(ITorchPlugin)))
continue;
if (type.IsAbstract)
continue;
_log.Info($"Loading plugin at {type.FullName}");
if (pluginType != null)