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

ServiceFactory #1091

Open
preslyel opened this issue Dec 19, 2024 · 1 comment
Open

ServiceFactory #1091

preslyel opened this issue Dec 19, 2024 · 1 comment

Comments

@preslyel
Copy link

Hi, in version 12.4.1, I can't find ServiceFactory. How can I now override the behavior of ServiceProvider.GetRequiredService(handlerType)?

@zachpainter77
Copy link
Contributor

Can you show an example of how you were using this in previous versions? and what version you were using? That might help me understand. I'm unaware of the service factory type. There doesn't seem to be a ServiceFactory type defined by MediatR. Are you referring to the IServiceProvider that you pass to the Mediator constructor?

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