danielpalme / IocPerformance

Performance comparison of .NET IoC containers
https://danielpalme.github.io/IocPerformance
Apache License 2.0
881 stars 157 forks source link

Conditional registrations for Simple Injector. #12

Closed dotnetjunkie closed 11 years ago

dotnetjunkie commented 11 years ago

Registrations added to the Simple Injector adapter to enable the conditional benchmarks. The code contains the RegisterWithContext extension method that can be found at the Simple Injector wiki: https://simpleinjector.codeplex.com/wikipage?title=Advanced-scenarios#Context-Based-Injection.