Skip to content

Instantly share code, notes, and snippets.

@wbsimms
Created February 9, 2014 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wbsimms/8907126 to your computer and use it in GitHub Desktop.
Save wbsimms/8907126 to your computer and use it in GitHub Desktop.
Resharper Template for MVVM Light Toolkit dependency properties
public const string $name$PropertyName = "$name$";
private $type$ $lname$ = new $type$();
public $type$ $name$
{
get
{
return this.$lname$;
}
set
{
if ($lname$ == value)
{
return;
}
$lname$ = value;
RaisePropertyChanged($name$PropertyName);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment