Tag Archives // c#

ReSharper’s Structural Search and Replace

July 19, 2013 // tools // 9 Comments

It is no secret that I’m a huge fan of JetBrains – most notably for their well beloved tool ReSharper.  🙂  Once you’ve spent some time with the tool and its very impressive feature suite, you really won’t be able […]

INotifyPropertyChanged (3 of 3) – without the reversed notifications

April 8, 2013 // wpf // 8 Comments

Welcome back for part 3 in this INotifyPropertyChanged series. This time we’ll be taking a look at reversed notifications which are another code smell with this pattern. Reversed notifications What do I mean by reversed notifications? When you have a […]

INotifyPropertyChanged (2 of 3) – without the backing fields

April 6, 2013 // wpf // 8 Comments

Welcome back for part 2 in this INotifyPropertyChanged series. This time we’ll be taking a look at the backing fields that are a common smell to this pattern. Backing fields To prevent raising notifications when a property is not really […]

INotifyPropertyChanged (1 of 3) – without the strings

April 5, 2013 // wpf // 3 Comments

If you’ve worked with WPF, you’ve probably encountered INotifyPropertyChanged.  It is a great notification mechanism, but it has a few common code smells we’ll iron out over this three part series. String based The default way of raising a notification […]