Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-Implemented properties including INotifyPropertyChanged #466

Open
vsfeedback opened this issue Jul 30, 2019 · 1 comment
Open

Auto-Implemented properties including INotifyPropertyChanged #466

vsfeedback opened this issue Jul 30, 2019 · 1 comment

Comments

@vsfeedback
Copy link

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.


@gafter gafter transferred this issue from dotnet/roslyn Jul 30, 2019
@hartmair
Copy link

hartmair commented Aug 3, 2019

This is already tackled, see #282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants