-
Shortcut
-
propNotify6
-
Description
-
Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field. Uses the nameof() c# syntax.
-
Language
-
csharp
-
Types
-
Expansion
-
Author
-
Reflection IT
-
Upload on
-
26-3-2015 08:58:05
-
Downloads
-
2105
ID
|
ToolTip
|
Default
|
type
|
Property type
|
int
|
property
|
Property name
|
MyProperty
|
field
|
The variable backing this property
|
myVar
|
private $type$ $field$;
public $type$ $property$
{
get { return $field$;}
set {
if ($field$ != value) {
$field$ = value;
OnPropertyChanged(nameof($property$));
}
}
}
$end$