grumpydev/TinyIoC

How to change interface default lifetime?

Opened this issue · 0 comments

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