Now, this is something that has stung me and every single one of my colleagues time and time again..
Imagine you have an interface called IMyConfiguration which has a get-only property:
One of the more obscure things I have had to do inside a Castle config is to specify an IEnumerable<T> instance which required taking the technique I showed in this post a little further:
If you have an interface like this:
[code lang=”csharp”]IDal[/code]
Dependency Inversion Principle refers to a specific form of decoupling aimed at rending high-level modules independent of the low-level modules’ implementation details. Its principle states:
Inversion of Control (IoC) refers to the inversion of the flow of control (the order in which individual statements, function calls, etc. are executed) in a software. You’ll often hear the term Hollywood principle being mentioned in the same…