Skip to content

Instantly share code, notes, and snippets.

@Tewr
Created August 20, 2019 13:39
Show Gist options
  • Save Tewr/114a0b883942efd792e86d1a1ab6c078 to your computer and use it in GitHub Desktop.
Save Tewr/114a0b883942efd792e86d1a1ab6c078 to your computer and use it in GitHub Desktop.
Visual studio INotifyPropertyChanged Regex
public ([^\s ]+) ([^\s]+) { get; set; }
private $1 _$2;\n\n\t\tpublic $1 $2\n\t\t{\n\t\t\tget { return _$2; }\n\t\t\tset { this.SetProperty(ref this._$2, value); }\n\t\t}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment