ComponentModel/ObservableRecipient/ #15
Replies: 1 comment 2 replies
-
如果想要在属性值发生变化时广播,除了可以调用特殊的 SetProperty 方法外,还可以使用源生成器,为字段额外添加一个 NotifyPropertyChangedRecipients 特性。private string _name; public string Name [ObservableProperty] |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ComponentModel/ObservableRecipient/
https://mvvm.coldwind.top/ComponentModel/ObservableRecipient/
Beta Was this translation helpful? Give feedback.
All reactions