We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d7bfb commit a6e0946Copy full SHA for a6e0946
src/WebJobs.Script/Binding/ExtensionLoader.cs
@@ -128,13 +128,8 @@ public void LoadDirectlyReferencedExtensions(IEnumerable<Type> userTypes)
128
129
private void LoadExtensions(Assembly assembly, string locationHint)
130
{
131
- foreach (var type in assembly.ExportedTypes)
+ foreach (var type in assembly.ExportedTypes.Where(p => !p.IsAbstract && typeof(IExtensionConfigProvider).IsAssignableFrom(p)))
132
133
- if (!typeof(IExtensionConfigProvider).IsAssignableFrom(type))
134
- {
135
- continue;
136
- }
137
-
138
if (IsExtensionLoaded(type))
139
140
continue;
0 commit comments