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

Add non-generic versions of service registration methods #31

Merged

Conversation

perliedman
Copy link
Contributor

When configuring in an automatic fashion (scanning an assembly for IQueryBuilder implementations and adding each one), using the generic methods is not really convenient.

This PR adds registration methods which accept straight forward Type arguments, which I believe is a common convention in other libraries.

I am happy to add documentation for the new methods if this PR seems ok in other aspects.

@dougrday
Copy link
Member

Looks good - could you please include the XML comments above these new methods, so that intellisense picks them up properly?

Thanks for the contribution!

@dougrday dougrday added this to the 0.4.2-beta milestone Oct 26, 2018
@perliedman
Copy link
Contributor Author

👍 Done!

@dougrday dougrday merged commit 1e7b92f into landmarkhw:master Nov 1, 2018
@perliedman perliedman deleted the non-generic-dependency-injection branch November 1, 2018 07:57
@dougrday
Copy link
Member

dougrday commented Nov 9, 2018

This was released in 0.4.2-beta.

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

Successfully merging this pull request may close these issues.

2 participants