【发布时间】:2018-01-25 13:03:43
【问题描述】:
我在这里以及其他网站上的各种帖子和教程中看到了很多答案,其中Dump() 方法用于IObservable<T> 序列。但是,当我尝试使用它时,我从编译器收到... does not contain a definition for 'Dump' and no extension method for 'Dump' ... Cannot resolve symbol 'Dump' 警告。它是否已从 Rx 中删除,还是我缺少库?
【问题讨论】:
-
Dump()是LinqPad中存在的扩展方法 -
这听起来很像您看到的代码片段是从 LINQPad 复制的。 LINQPad 带来了一个
.Dump()-extension 方法将对象的内容输出到它的输出窗口中。
标签: c# system.reactive