martinothamar/Mediator

Manually register handlers

artyom-p opened this issue · 1 comments

Is it possible to register handlers only from specified assemblies?

I have a project connected to my application that contains handlers in it , that have some specific services injected in the constructor. Im using only some extensions from that project, and I don't need handlers to be automatically registered on startup because it breaks the application on start as DI validation comes into play and I don't have those services registered.

In most cases its totally fine to automatically register handlers, but would be super useful to control it.