-
Hi Antony, Your SG is a very nice piece of code, thanks a lot for sharing.
code generated (simplified) :
But this brokes many mechanisms (WPF Binding, ...). Thanks 👍 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That's fair enough. Would a .editorconfig setting at the project level work? Can you open an issue? Explicit interface implementations is an interesting one. Binding to explicitly-implemented properties is badly supported, see dotnet/wpf#3855. I also can't find any guidance on what PropertyChanged events should be raised for explicitly implemented properties. For example: public class Test : ITest
{
string ITest.Name => "Foo";
public string Name => "Bar";
} If you raise a PropertyChanged event with a propertyName of "Name", which property should be accessed? I'd say obviously the one returning "Bar". Which means that raising an event with a propertyName of "Name" when |
Beta Was this translation helpful? Give feedback.
-
Both released in 1.0.7 |
Beta Was this translation helpful? Give feedback.
Both released in 1.0.7