Wiki

Clone wiki

DecepticonTransformer / Home

Want a fast .net transform/mapper tool?

DecepticonTransformer uses IL Emit (LCG - Lightweight Code Gen) to make fast copy of data from a type to another.

Thanks to http://fluentil.org/, and Gunnar Peipman post http://weblogs.asp.net/gunnarpeipman/archive/2010/02/12/writing-object-to-object-mapper-my-mapper-vs-automapper.aspx that inspired me.

And DecpticonTransformer is high extensible too, but, you need to know a little of Emitting IL code ;-) Why Decepticon? Because IL is Evil. We will build a tool that uses only Reflection and we will name it as AutobotTransformer... just kidding man...

Code sample:

Decepticon.Transform(client, clientViewModel);

Updated