IoC

There are 1 entries for the tag IoC

Inversion of Control with NET Framework.

07 July 2009 |

Today I want to break-out my series of posts about WPF to talk about an interesting design pattern. The Inversion of Control or Dependency Injection. You can find a clear definition at this address: Martin Fowler. What is it the Dependency Injection? The dependency injection is a way to inject some information and configuration inside an object, from another one. In this way we keep our object abstract and recyclable. As you can see in this example, we have two concrete tasks, and each one has an execute command that is exposed by the...