dotnet / dotnet/vblang

Auto-Implemented properties including INotifyPropertyChanged

Open
#466 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

It would be great, if there is a short form to declare a property, for which you can also say, that it should raise the INotifyPropertyChanged.PropertyChanged-event. DataBinding is a great tool to minimize code, and I'm sure lots of people are using it (or want to do it), but in VB it makes a
`Public Property name As String`
to a
`Private _name As String`
`Public Property name As String`
` Get`
`Return _name`
`End Get`
`Set(value As String)`
`_name = value`
`NotifyPropertyChanged()`
`End Set`
`End Property`
plus extra event, plus method.

_This issue has been moved from https://developercommunity.visualstudio.com/content/idea/645206/auto-implemented-properties-including-inotifyprope.html
VSTS ticketId: 947463_
_These are the original issue comments:_

Jane Wu [MSFT] on 7/16/2019, 02:35 AM (13 days ago):

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We’ll provide an update once the issue has been triaged by the product team.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.