Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoRegisterHandlersFromAssembly with type predicate filter #84

Open
arildboifot opened this issue Jan 23, 2024 · 1 comment
Open

AutoRegisterHandlersFromAssembly with type predicate filter #84

arildboifot opened this issue Jan 23, 2024 · 1 comment

Comments

@arildboifot
Copy link
Contributor

I recently found myself in the need of a more granular filter on which handlers where registered with 'AutoRegisterHandlersFromAssembly', so I created an overload like so:

public static IServiceCollection AutoRegisterHandlersFromAssemblyOf<THandler>(this IServiceCollection services, Func<Type, bool> predicate = null)

Is this something you would like a PR on?

@mookid8000
Copy link
Member

(..) Is this something you would like a PR on?

Oh yes, please 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants