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
Good work, your articles are very interesting, i am glad that i googled your blog