propnotify2


Snippet Details

Shortcut
propnotify2
Description
Code snippet for property using SetProperty method (compatible with Prism.MVVM and others)
Language
csharp
Types
Expansion
Author
Daniel Turan
Upload on
3/13/2017 2:05:12 PM
Downloads
403

Declarations

ID ToolTip Default
type Property type int
property Property name MyProperty
field The variable backing this property myVar

Code Output

        private $type$ $field$;

	public $type$ $property$
	{
		get { return $field$;}
		set { SetProperty(ref $field$, value);}
	}
	$end$
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages