Castle Windsor Tips – say NO to private setter
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: And the implementing class takes in a parameter called port in the constructor and sets the value of the property using a private setter …