Tag Archives: nuget-package

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

Nuget Package: Fody

Fody is a Nuget Packaged that allows you to decorate your code with attributes and from them generate code automatically through IL injection.

From the official project:

Manipulating the IL of an assembly as part of a build requires a significant amount of plumbing code. This plumbing code involves knowledge of both the MSBuild and Visual Studio APIs. Fody attempts to eliminate that plumbing code through an extensible add-in model.

It is also the name of this cute little bird 🙂


Continue reading