Exclude abstract types from plugin scan
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user