Browse by Tags

All Tags » C# » .NET (RSS)

AOP

I am looking at the code for Silverlight application and there’s something that just bugs me… INotifyPropertyChanged. This is not the first time, and yet again I see this interface implemented again, and again, and again. This violates several good principles...
Posted by Sean Feldman | 2 comment(s)
Filed under: , , ,
Well, I wish there was a way of getting away from SyntaticSugar static class initial point, and be able just to do plain code Do(() => request.Headers = Headers).If(HeadersExist); Or even better, this (request.Headers = Headers).If(HeadersExist); There...
Posted by Sean Feldman | 6 comment(s)
Filed under: ,
I was working on some code today, when run into a pitfall with Moq. This was probably my misreading of documentation. The component I was testing looked somewhat like the code below public class SomeOtherType { private readonly ISomeType someType; public...
Posted by Sean Feldman | 5 comment(s)
Filed under: , ,
More Posts