jbogard / MediatR

Simple, unambitious mediator implementation in .NET
Apache License 2.0
11.06k stars 1.17k forks source link

Add assembly with handlers without ServiceCollection #999

Closed zoinkydoink closed 5 months ago

zoinkydoink commented 8 months ago

We are using v9.0 (cant upgrade to higher), also using this in .NET Framework 4.6.2 with WPF app.

We are dynamically loading dlls that contain Notification handlers, this is done well after the initial load of application, hence why ServiceCollection is not available.

Is there a way I can register Assemblies that are dynamically loaded and well after app start? If so how can i do this, thank you

jbogard commented 8 months ago

This isn't a MediatR question, it's a DI container question. Check with your container docs on this.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] commented 5 months ago

This issue was closed because it has been stalled for 14 days with no activity.