Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到 Observable.While 和 Observable.Prune 方法是 Microsoft.Phone.Reactive 命名空间的一部分。只是好奇为什么这些方法应该适用于所有操作系统?
随着 2011 年 4 月版的 Rx 发生了一些变化,开始Prune使用TakeLast(1),开始While使用TakeWhile。这些更改尚未出现在 windows phone 版本中,因为它使用了一个单独的版本,如此处所述。
Prune
TakeLast(1)
While
TakeWhile