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

How to change interface default lifetime? #95

Open
rrivem opened this issue May 19, 2016 · 0 comments
Open

How to change interface default lifetime? #95

rrivem opened this issue May 19, 2016 · 0 comments

Comments

@rrivem
Copy link

rrivem commented May 19, 2016

I'm using NancyFx with TinyIoC and I would like to change the default behavior for interface dependency injection.

I would want it to be multi-instance instead of singleton.

I know I can register a specific interface/implementation to per request or singleton, but I cannot find a way to make this the default configuration for any interface dependency.

Thanks,
Rodrigo

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

No branches or pull requests

1 participant