gpt4 book ai didi

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

转载 作者:可可西里 更新时间:2023-11-01 09:03:13 26 4
gpt4 key购买 nike

System.Reactive.Linq.Observαble 是什么?

请注意用希腊字母“alpha”代替“a”。 Observable 不 Observable

在程序集中的这个命名空间中找到了大约一百个类(都是internal)

// 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# - 什么是 System.Reactive.Linq.Observαble? (注意阿尔法),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12896320/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com