LDM notes for April 15th 2020 #3413
Replies: 2 comments 2 replies
-
Presumably using the partial keyword on the property just like methods? What other syntax could there possibly be? What else could such a syntax possibly mean?
Here is a list of requests with the aim of simplifying usage of NotifyPropertyChanged: Writing NotifyPropertyChanged for properties which could otherwise be auto properties is clearly a significant burden for users, and partial properties + source generators are the perfect solution. |
Beta Was this translation helpful? Give feedback.
-
I imagine with properties you would put the partial modifier on the actual public int X
{
partial get;
partial set;
} Then if it is redeclared without a |
Beta Was this translation helpful? Give feedback.
-
https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-04-15.md
Beta Was this translation helpful? Give feedback.
All reactions