最新版本的 Gallio 的 CCiModuleCache 位于哪个命名空间?
我有一些旧代码正在尝试使用在代码中实例化的类 CciModuleCache 进行编译。最新版本的 Gallio 无法解决此问题。我仍然在这个类下看到红色卷曲下划线。有谁知道这个类现在驻留在哪个命名空间中?
命名空间/库 我以为它在,但不是:< br> 使用 Gallio.Common.Reflection.Impl;
答:此类最近已更改,因此程序集外部的代码可以调用它。它将不再具有“内部”访问类型
I have some old code I'm trying to compile with the class CciModuleCache being instantiated in the code. It doesn't resolve with the latest version of Gallio. I still get the red curly underlines under this class. Does anyone know what namespace this class resides in now?
namespace/library I thought it was in, but is not:
using Gallio.Common.Reflection.Impl;
Answer: This class was recently changed so code outside of the assembly can call into it. It will no longer have an access type of "internal"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该类型现在被声明为公共类,以实现更好的可重用性。请在 http://ccnet.gallio.org/Distributables 中尝试下一个 v3.3 每日构建。另请参阅问题 852。
编辑:在构建 v3.3.409 及更高版本中应该没问题。
The type is now declared as a
public
class for a better reusability. Please try out the next v3.3 daily build in http://ccnet.gallio.org/Distributables. See also issue 852.EDIT: It should be OK in build v3.3.409 and later.
该类的访问类型为internal,因此只有Gallio库可以访问它。
This class has an access type of internal, so only the Gallio library can access it.