Created
February 9, 2014 22:38
-
-
Save wbsimms/8907126 to your computer and use it in GitHub Desktop.
Resharper Template for MVVM Light Toolkit dependency properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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