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

Added strongly typed overloads of WithConstructorArgument which use callback to get the value #197

Merged
merged 1 commit into from
Nov 11, 2015

Conversation

Giorgi
Copy link
Contributor

@Giorgi Giorgi commented Oct 30, 2015

I Added strongly typed overloads of WithConstructorArgument which use a callback to get the value so that you do not need to pass the type of the argument any more. This also guarantees that the callback you pass returns the type that you specified as a generic argument.

scott-xu added a commit that referenced this pull request Nov 11, 2015
Added strongly typed overloads of WithConstructorArgument which use callback to get the value
@scott-xu scott-xu merged commit a28c046 into ninject:master Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants