Created
August 11, 2016 09:06
-
-
Save geirsagberg/9c6389d5b9bf7737bcefa23ca2609e61 to your computer and use it in GitHub Desktop.
Disable property injection in LightInject
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| internal class PropertyInjectionDisabler : IPropertyDependencySelector | |
| { | |
| public IEnumerable<PropertyDependency> Execute(Type type) | |
| { | |
| return new PropertyDependency[0]; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment