By default, the AddCortexMediator extension method of the ServiceCollectionExtensions class doesn't explore internals and private handlers (ICommandHandler<>, IQueryHandler<>, and INotificationHandler<>).
I think it could be a great thing to let developers choose to include internals or private handlers by adding a new property to the MediatorOptions class and passing it to Scrutor in the RegisterHandlers method.
This issue has been created by the help of @mapr-fr, for this PR: #120
By default, the AddCortexMediator extension method of the ServiceCollectionExtensions class doesn't explore internals and private handlers (ICommandHandler<>, IQueryHandler<>, and INotificationHandler<>).
I think it could be a great thing to let developers choose to include internals or private handlers by adding a new property to the MediatorOptions class and passing it to Scrutor in the RegisterHandlers method.
This issue has been created by the help of @mapr-fr, for this PR: #120