[英]How do I determine what assembly a namespace is in?
The MSDN documentation doesn't generally specify the assembly a namespace is in, so there's no easy way to add the necessary assembly reference. MSDN文档通常不指定名称空间所在的程序集,因此没有简单的方法来添加必要的程序集引用。
NOTE: I am using MonoDevelop, so right-click, resolve is not an option. 注意:我正在使用MonoDevelop,因此右键单击“解决”不是一个选择。
Take a look at this example: http://msdn.microsoft.com/en-us/library/dd321424(VS.100).aspx 看下面的示例: http : //msdn.microsoft.com/zh-cn/library/dd321424(VS.100).aspx
Task(Of TResult) Class Task(TResult)类
Represents an asynchronous operation that can return a value. 表示可以返回值的异步操作。
Namespace: System.Threading.Tasks 命名空间:System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll) 程序集:mscorlib(在mscorlib.dll中)
Namespaces can cross multiple assemblies, so you need to look for the assembly a specific class is in. 命名空间可以跨多个程序集,因此您需要查找特定类所在的程序集。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.