我剛剛開始使用ReactiveUI。我有以下類: public class MainViewModel : ReactiveObject, IRoutableViewModel
{
private string shareText;
public ReactiveCollection<SharingAccountViewModel> SelectedAccounts { g
我想註冊一個打開文件並處理它的異步命令。 OpenFileCommand = new ReactiveAsyncCommand();
OpenFileCommand.RegisterAsyncAction(_ =>
{
var path = GetOpenFilePath(); // This needs to be on the UI thread
if (String.
如果我使用的代碼綁定的背後,在變化IsBusy得到一個錯誤的點擊後 "The calling thread cannot access this object because a different thread owns it"
XAML: <Button x:Name="AsyncCommand"
Height="20"
Content="PushAsy