内部类需要测试,并且有一个assemby属性:
using System.Runtime.CompilerServices;[assembly:InternalsVisibleTo("MyTests")]将此添加到项目信息文件,例如
PropertiesAssemblyInfo.cs。

内部类需要测试,并且有一个assemby属性:
using System.Runtime.CompilerServices;[assembly:InternalsVisibleTo("MyTests")]将此添加到项目信息文件,例如
PropertiesAssemblyInfo.cs。