Search code examples
c#valueinjecter

Using ValueInjecter, can I inject into private properties?


Is there any Injection in ValueInjecter that injects into private properties?


Solution

  • you can build one, you can inherit the IValueInjection, use reflection and go through all the properties private or public, or both, however you need, and set the values from one object to another