Skip to content

[Feature]: Add AddCortexMediator extension method to support different level of classes #121

Description

@eneshoxha

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfeatureThis label is in use for minor version increments

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions