mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-18 18:44:23 +00:00
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user