GreenRock Software Code Comment

September 8, 2008

Dependency Injection or Inversion of Control (IoC)

Filed under: New Posts — greenrocksoftware @ 12:02 pm

These phrases popped up during TechEd so I scrambled to verify it was what I thought it was .. and it wasn’t.

To recognise DI, look for an interface being passed into a class constructor or, alternatively, an interface being passed to a class properties set. The primary objective here is to provide loose coupling by using interfaces. We can use a referenced object in our class only knowing that it has an interface.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Blog at WordPress.com.