c# – 什么是System.Reactive.Linq.Observ? (注意阿尔法)

前端之家收集整理的这篇文章主要介绍了c# – 什么是System.Reactive.Linq.Observ? (注意阿尔法)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
无论是System.Reactive. Linq.Observ ?ble?

注意希腊字母’alpha’代替’a’.观察不到可观察

在装配中的这个命名空间中找到了大约一百个类(所有内部的)

// C:\Program Files (x86)\Microsoft SDKs\Reactive
Extensions\v2.0\Binaries.NETFramework\v4.0\System.Reactive.Linq.dll
// System.Reactive.Linq,Version=2.0.20823.0,Culture=neutral,
PublicKeyToken=31bf3856ad364e35

解决方法

this comment from Bart de Smet

You’re seeing an internal namespace with a Greek alpha in its name to
make the call stack look exactly like the methods you wrote. We can’t
have inner classes such as Where nested inside Observable,because
there’s already a method with that name. So,the closest approximation
was an Observαble namespace with classes such as Where in it.

Unfortunately,the namespace shows up in IntelliSense at this point,due to some complexities around the IDE’s handling of InternalsVisibleTo. We’re aware of this problem and are looking into it.

猜你在找的C#相关文章