Ignore abstract classes at loading

This commit is contained in:
Pavel Vesely 2020-05-08 21:30:31 +02:00
parent 97354a9525
commit 1e270e6423

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;