尝试使用query.ToObservable()时出现问题 [英] Problem while trying to use query.ToObservable()

查看:104
本文介绍了尝试使用query.ToObservable()时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2010 Ultimate来创建WPF应用程序(.net 4.0),我正在阅读来自pluralsight for .NET Reactive Extensions Fundamentals的教程



http://www.pluralsight.com/training/Courses/TableOfContents/reactive-extensions [ ^ ]



显示WPF的一个示例,其中单击按钮时使用简单按钮和只读文本框,文本框的文本附加了使用Enumerable linq查询生成的数字。应用程序保持响应而不会死,因为执行了异步任务。



应用程序添加了System.CoreEx,System.Observable和System.Reactive的引用



并假设一行代码就像



  var  query = 来自编号  Enumerable.Range( 1  25 选择号码; 

var observableQuery = query.ToObservable() // 在intellisense中看不到ToObservable()





因为我无法找到并添加引用。



我试图在谷歌搜索并安装



来自
$的反应性扩展b $ b http://www.microsoft.com/en-in/download/details .aspx?id = 26649 [ ^ ]









< a href =http://msdn.microsoft.com/en-us/data/gg577610> http://msdn.microsoft.com/en-us/data/gg577610 [ ^ ]



但我无法找到所有的dll文件。我在我的系统中找到了System.Reactive。



C:\Program Files(x86)\ Mycoftoft Reactive Extensions SDK \v1.0.10621 \ Binaries \ .NETFramework \v4.0



在Google上搜索时,我在某处读到System.CoreEx现在包含在System.Reactive中,因此不需要其余的是System .Observable我无法找到。



那么在哪里可以找到dll或者我需要安装什么才能获得该DLL。我甚至尝试通过nuget但无法找到。



如果有人可以建议哪里可以获得System.Observable dll。

解决方案

所有版本中的更改都带来了一些问题。现在我解决了。



这里是链接:



http://stackoverflow.com/questions/15001540/unable-to次使用的查询-toobservable-不能找到的组基准DLL / 15037689#15037689

I am using Visual Studio 2010 Ultimate to create WPF app(.net 4.0) and I was going through the tutorial from pluralsight for .NET Reactive Extensions Fundamentals

http://www.pluralsight.com/training/Courses/TableOfContents/reactive-extensions[^]

An example of an WPF is shown where a simple button and readonly textbox is used when the button is clicked the text of textbox is appended with the numbers generated using Enumerable linq query. The application keeps responding without being dead because asynchronous task is performed.

The application adds reference of System.CoreEx, System.Observable and System.Reactive

and suppose a line of code is like

var query = from number in Enumerable.Range(1, 25) select number;

var observableQuery = query.ToObservable() // ToObservable() is not seen in intellisense



because I am unable to find and add reference.

I tried to search on google and also installed

Reactive Extensions from
http://www.microsoft.com/en-in/download/details.aspx?id=26649[^]

and


http://msdn.microsoft.com/en-us/data/gg577610[^]

but I was unable to find all dll files. I found System.Reactive in my system in

C:\Program Files (x86)\Microsoft Reactive Extensions SDK\v1.0.10621\Binaries\.NETFramework\v4.0

and while searching on google I read somewhere that System.CoreEx is now included in System.Reactive so its not required the remaining is System.Observable which I am unable to find.

So where can I find that dll or what do I need to install to get that dll. I even tried through nuget but unable to find.

If anybody could suggest where can get the System.Observable dll.

解决方案

All it was changes in versions that brought some issues. Now I got it resolved.

Here''s the link:

http://stackoverflow.com/questions/15001540/unable-to-use-query-toobservable-cannot-find-reference-dll/15037689#15037689


这篇关于尝试使用query.ToObservable()时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆