Windsor Castle - Injection of Value

Can Windsor Castle make an injection?

For example, let's say I have a model object for Employee with properties that I want to automatically map to the interface that describes the view for MVC.

I want Employee.FirstName to have the IEmployeeView.FirstName automatic parameter set when model data changes.

I am using ValueInjecter now , but I would like to abandon assembly dependency if Windsor can do this. (I already use Windsor for IoC and other AOP files)

+3
source share
2 answers

, Windsor ( IoC, ), IoC , . , , , .

ValueInjecter AutoMapper.

+4

MEF (http://mef.codeplex.com/). .NET 4.0.

0

Source: https://habr.com/ru/post/1790475/


All Articles