![](/img/trans.png)
[英]Conversion from open generic to value
我們在我的一個項目中廣泛使用 AutoMapper 和 ReactiveProperty。 所以我為 ReactiveProperty 的所有接口和類創建了一些映射到對象和反向。 只要將IReactiveProperty<T>映射到目標類型T ,這就是一項直接的任務。 例如class M ...
[英]Conversion from open generic to value
我們在我的一個項目中廣泛使用 AutoMapper 和 ReactiveProperty。 所以我為 ReactiveProperty 的所有接口和類創建了一些映射到對象和反向。 只要將IReactiveProperty<T>映射到目標類型T ,這就是一項直接的任務。 例如class M ...
[英]Better way to attach two ReactiveProperty
我在我的代碼中使用 ReactiveProperty 庫,有時我需要將兩個ReactiveProperty<T>連接在一起以保持屬性數據同步。 例如,將服務 class 中的ReactivePropertySlim組合到 ViewModel class 中的ReactivePropert ...
[英]How to implement CanExecute in ReactiveCommand
在我們的Xamarin.Forms應用程序中,我們使用ReactiveProperty框架( https://github.com/runceel/ReactiveProperty )。 請注意,此處我們僅使用ReactiveProperty,而不使用ReactiveUI。 我有一個 ...
[英]Zip does not behave as expected
在我的最新項目中,我決定測試反應式編程產品的一些功能。 由於這是一個C#項目,因此我開始使用System.Reactive和ReactiveProperty nuget包。 在我的項目中,我嘗試通過以下代碼組合綁定到WPF文本框控件的2個屬性: 綁定到RxTest的文本框將獲得“演示 ...
[英]ReactiveProperty initial value
我正在嘗試為public ReactiveProperty<string> ConnectionStatus設置初始值。 即使我試圖像這樣實例化它 直到可觀察到的東西返回之前,它仍然是空的。 有任何想法嗎? 我正在使用這個圖書館 。 ...
[英]How to make the transition from “traditional” to reactive MVVM
我想轉換到反應式視圖模型/模型。 到目前為止我使用了3個場景: “ValueA”:模型值一次只能從一個視圖模型訪問,並且該值僅通過視圖模型更改 =>模型中的簡單屬性,在視圖模型中使用PropertyChanged轉發屬性 “ValueB”:從多個視圖模型訪問模型 ...