Tag Archives: valueinjecter

Nuget Package: ValueInjecter

ValueInjecter is a nuget package that allows you to inject values from one object to another.

ValueInjecter lets you define your own convention-based matching algorithms (ValueInjections) in order to match up (inject) source values to destination values. It is used for mapping Dto to Entity and back also for mapping IDataReader to objects, windows forms to object, basically anything. Also has support for flattening and unflattening.

One good use for ValueInjecter is when you are working with models and viewmodels. With it you can build models from viewmodels and viewmodels from models.
Continue reading

Advertisements