Skip to content

Commit

Permalink
Dont inject generic types
Browse files Browse the repository at this point in the history
  • Loading branch information
ProphetLamb committed Dec 31, 2023
1 parent cb04fe3 commit 9d26d6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ScrapeAAS.MessagePipe/Dataflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ private static IEnumerable<Type> GetTypesToInject(Assembly assembly)
.Where(t
=> !t.IsAbstract
&& !t.IsInterface
&& !t.IsGenericType
&& t.GetInterfaces().Any(i
=> i.IsGenericType
&& i.GetGenericTypeDefinition() == typeof(IDataflowHandler<>)
Expand Down

0 comments on commit 9d26d6e

Please sign in to comment.