是否有Visual Studio中的方式来轻松获得合格的类型名称? [英] Is there a way within Visual Studio to easily get qualified type names?
问题描述
我正在寻找一个扩展/过程Visual Studio中获得一个对象的程序集限定类型名称。我知道,你可以写一个快速的控制台应用程序输出这一点,但发现它是一个笨拙的过程。理想情况下,我想有能力在类型名称上单击右键,并有它的装配合格的名称复制到剪贴板,以便粘贴到我的DI容器的配置文件的选项。
I'm looking for an extension/process for getting an object's assembly qualified type name within Visual Studio. I'm aware that you can write a quick console app to output this but find it to be a clumsy process. Ideally, I'd like the ability to right-click on a type name, and have the option to copy it's assembly qualified name to the clipboard in order to paste into my DI Container's configuration file.
推荐答案
大会信息是可能靠近你在找什么。它似乎只显示在您的参考信息,但should't是一个问题,如果你在你的解决方案引用程序集的另一个项目。
Assembly Information is probably close to what you are looking for. It seems to only show information on your references but should't be a problem if you have another project in your solution referencing the assembly.
好主意插件如果可能的话。
Good idea for a plug-in if it's possible.
这篇关于是否有Visual Studio中的方式来轻松获得合格的类型名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!