Quantcast
Channel: かずきのBlog@hatena
Viewing all articles
Browse latest Browse all 1388

ReactiveProperty v2.7.1をリリースしました

$
0
0

www.nuget.org

こんな意見をいただいたので

ちょっと機能を追加しました

Inverse拡張メソッド

boolのIObservableに対して、値を反転するInverse拡張メソッドを追加しました。これでこういう風に処理が書けるようになります。

var b = new BusyNotifier();
var isIdle = b.Inverse().ToReadOnlyReactiveProperty(); // 処理OKなとき用

本質的にSelect(x => !x)と変わらないですが、意図を伝えやすくなってますね。


Viewing all articles
Browse latest Browse all 1388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>