Mocking Dependencies != IoC (or at least it doesn’t have to)

Since I met the concept of Inversion of Control (IoC) I’ve been a big fan!  What an elegant way to externalize dependencies and decouple a component from all the components it depends on.  No longer is a component initializing a dependency initially coupling itself in a hard way. A nice side-effect is that an IoC-compliant … More Mocking Dependencies != IoC (or at least it doesn’t have to)

Expression Trees: Part 4 – Simple mapping inversion

This is part of a series of blog post about expression trees in .NET 4.0.  The past blog entries are: Basics (1) Fetching Properties (2) Setting Properties (3) In this article, I’ll cover simple mapping inversion using Expression Trees (ET).  By simple I mean that we’ll map two objects properties / fields directly:  there won’t … More Expression Trees: Part 4 – Simple mapping inversion