OqtaneIgnore implementation fix

This commit is contained in:
Pavel Vesely
2020-06-01 08:24:20 +02:00
parent 0cc325ee95
commit 27a3ac8d1c
7 changed files with 12 additions and 14 deletions

View File

@ -193,11 +193,7 @@ namespace Oqtane.Repository
foreach (Type modulecontroltype in modulecontroltypes)
{
// Check if type should be ignored
if (modulecontroltype.Name == "ModuleBase"
|| modulecontroltype.IsGenericType
|| modulecontroltype.IsAbstract
|| modulecontroltype.IsOqtaneIgnore()
) continue;
if (modulecontroltype.IsOqtaneIgnore()) continue;
// create namespace root typename
string qualifiedModuleType = modulecontroltype.Namespace + ", " + modulecontroltype.Assembly.GetName().Name;