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.
我有
IEnumerable<IObservable<Tourn>> collectionOfObservables
但我想要
IObservable<Tourn> observableTourn
并且我希望 observableTourn 的所有订阅者在任何底层可观察对象发生变化时触发?在 C# 中需要这个
试试Observable.Merge
尝试使用 LINQ。方法Select或SelectMany()将解决问题。
Select
SelectMany()