Created
June 18, 2020 17:58
-
-
Save LucioMSP/022f5340b83e36dbbe9b0e24f2a2af56 to your computer and use it in GitHub Desktop.
ViewModel Property Code Snippet
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
private $type$ $field$; | |
public $type$ $property$ | |
{ | |
get => $field$; | |
set => SetProperty(ref $field$, value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment