May 2010 - Posts

6
Comments

Using Unity Application Block – from basics to generics by nmarun

I just wanted to have one place where I list all the six Unity blogs I’ve written. Part 1 : The very basics – Begin using Unity ( code here ) Part 2 : Registering other types and resolving them ( code here ) Part 3 : Lifetime Management ( code here )...
Filed under: , ,
2
Comments

Using Unity – Part 6 by nmarun

This is the last of the ‘Unity’ series and I’ll be talking about generics here. If you’ve been following the previous articles, you must have noticed that I’m just adding more and more ‘Product’ classes to the project. I’ll change that trend in this blog...
Filed under: , ,
3
Comments

Using Unity – Part 5 by nmarun

In the previous article of the series, I talked about constructor and property (setter) injection. I wanted to write about how to work with arrays and generics in Unity in this blog, after seeing how lengthy this one got, I’ve decided to write about generics...
Filed under: , ,
7
Comments

Beware of const members by nmarun

I happened to learn a new thing about const today and how one needs to be careful with its usage. Let’s say I have a third-party assembly ‘ConstVsReadonlyLib’ with a class named ConstSideEffect.cs: 1: public class ConstSideEffect 2: { 3: public static...
Filed under: ,
More Posts