Skip to content

Commit

Permalink
Merge pull request #455 from chlupac/NewVersion
Browse files Browse the repository at this point in the history
Ignore abstract classes at loading
  • Loading branch information
sbwalker authored May 8, 2020
2 parents c5d12d0 + 1e270e6 commit 552df0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Oqtane.Server/Repository/ModuleDefinitionRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ private List<ModuleDefinition> LoadModuleDefinitionsFromAssembly(List<ModuleDefi
// Check if type should be ignored
if (modulecontroltype.Name == "ModuleBase"
|| modulecontroltype.IsGenericType
|| modulecontroltype.IsAbstract
|| Attribute.IsDefined(modulecontroltype, typeof(OqtaneIgnoreAttribute))
) continue;

Expand Down

0 comments on commit 552df0c

Please sign in to comment.