Hello!

Since a couple of days ago I have this post in draft mode so I’m going to give out today. And the first first thing, a small, an image/video with really cool of ReSharper functionality

VS2013 RSharper NotifiyPropChanged

Although I’ve already written recently about the ability of R # to implement this interface, as you can see in the image above, when we add the INotifyPropertyChanged interface in a class, ReSharper offers 2 options in your context menu

  • First add the “System.ComponentModel” Namespace, something you already know and which also makes the own Visual Studio
  • Second R# offers us to implement the interface, and also to be able to correctly use the same offers us the possibility to add a class Annotations

This class is pre-defined in R# and we can configure the same options of ReSharper. The operation includes grants for the completion and validation of the names of the props in the definition of OnPropertyChanged.

image

And now if, when we generate a property, we can define directly a prop with OnPropertyChanged with ReSharper

VS2013 RSharper prop

I’m saving tons of minutes !

Resources

Greetings @ Córdoba

El Bruno

imageimageimageGoogle

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading