阅读背景:

如何在Visual Studio单元测试中使用包含私有类型的泛型

来源:互联网 

I have an issue with a class that I'm trying to test. I've declared a private enum and I'm using that in a generic dictionary in the code. This enum has no meaning outside of this class but it's used in a private method. When I generated the code the accessor is written into the generic dictionary type, but throws an invalid cast exception when I try to use the test.I have an issue with a class that I'm trying to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: