Source%20Generator/FieldAttributes/ #7
Replies: 2 comments 6 replies
-
通知中继指令更新其可用状态中: [ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(FooCommand))]
private bool isFooEnabled; 如果是在线程中对FooEnabled进行赋值,会报错,这个有什么解决方案么? Task.Run(()=>{ FooEnabled = true;}); 会报错 |
Beta Was this translation helpful? Give feedback.
5 replies
-
被[ObservableProperty]标记的字段怎么在get或者set中里添加方法 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Source%20Generator/FieldAttributes/
https://mvvm.coldwind.top/Source%20Generator/FieldAttributes/
Beta Was this translation helpful? Give feedback.
All reactions