Merge pull request #455 from chlupac/NewVersion

Ignore abstract classes at loading
This commit is contained in:
Shaun Walker
2020-05-08 17:30:06 -04:00
committed by GitHub

View File

@ -194,6 +194,7 @@ namespace Oqtane.Repository
// Check if type should be ignored
if (modulecontroltype.Name == "ModuleBase"
|| modulecontroltype.IsGenericType
|| modulecontroltype.IsAbstract
|| Attribute.IsDefined(modulecontroltype, typeof(OqtaneIgnoreAttribute))
) continue;