We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe54a9c commit eb0b475Copy full SHA for eb0b475
Microsoft.Toolkit.Mvvm/ComponentModel/Attributes/AlsoNotifyChangeForAttribute.cs
@@ -46,15 +46,21 @@ namespace Microsoft.Toolkit.Mvvm.ComponentModel
46
/// public string Name
47
/// {
48
/// get => name;
49
- /// set => SetProperty(ref name, value);
+ /// set
50
+ /// {
51
+ /// if (SetProperty(ref name, value))
52
53
+ /// OnPropertyChanged(nameof(FullName));
54
+ /// }
55
56
/// }
57
///
58
/// public string Surname
59
60
/// get => surname;
61
/// set
62
- /// if (SetProperty(ref name, value))
63
+ /// if (SetProperty(ref surname, value))
64
65
/// OnPropertyChanged(nameof(FullName));
66
0 commit comments