Resharper Templates & Documentation

I have finally managed to get everything wrapped up on the Resharper Templates. I must stress that they are intended for C# and not VB.NET. 

To use the Resharper templates, please ensure that you have Resharper installed (can be found here). To add the templates, you will find the option to import them under the “Live Templates” tool located under the “ReSharper” menu.

The documentation is handy to see what the shortcut keys are and how to use the individual templates.

Tip:

The Dependency Property with on property changed handler (shortcut key dpc) is a little special. Within the property accessor, you will see a cached value check before retrieving the actual value, which will return either the local cached value or go off to the dependency property system and getting the actual value. Going to the dependency property system is an expensive task and thus this avoids doing this task unnecessarily. This is particularly useful on data binding scenarios to improve performance.  

If you have any problems, please let me know.

Bruce

Advertisement

1 Response to “Resharper Templates & Documentation”


  1. 1 resveratrol January 29, 2010 at 10:51 pm

    Good work, your articles are very interesting, i am glad that i googled your blog


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow this tag via RSS
Find me on Linkedin

Top Posts

  • None

Bloggers


Follow

Get every new post delivered to your Inbox.