danielpalme / IocPerformance

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

Simple Injector Configuration fixed. #20

Closed dotnetjunkie closed 11 years ago

dotnetjunkie commented 11 years ago

Simple Injector Configuration fixed concerning property injection.

Calls to RegisterInitializer have been removed and a custom IPropertySelectionBehavior implementation has been hooked to tell the container to inject certain properties. This makes the configuration much more maintainable and is therefore the advised approach. A positive side effect of this is that performance is much better.