Ignore abstract classes at loading
This commit is contained in:
parent
97354a9525
commit
1e270e6423
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user