OqtaneIgnore implementation to theme elements

This commit is contained in:
Pavel Vesely
2020-05-29 16:09:27 +02:00
parent ee3a4d1624
commit 58d97dd731
3 changed files with 8 additions and 2 deletions

View File

@ -79,5 +79,10 @@ namespace System.Reflection
.Where(a => a.GetTypes<IModuleControl>().Any() || a.GetTypes<IThemeControl>().Any() || a.GetTypes<IClientStartup>().Any())
.Where(a => Utilities.GetFullTypeName(a.GetName().Name) != "Oqtane.Client");
}
public static bool IsOqtaneIgnore(this Type type)
{
return Attribute.IsDefined(type, typeof(OqtaneIgnoreAttribute));
}
}
}