如何在VS2013中获取解决方案或项目中的扩展方法列表? [英] How to get list of extension methods in a solution or project in VS2013?
本文介绍了如何在VS2013中获取解决方案或项目中的扩展方法列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获得解决方案/项目中的扩展方法列表?
How does one get the list of extension methods in a solution/project?
默认情况下,VS 2013中是否有任何内容可以实现类视图或使用ndepend cqlinq?
Is there anything in VS 2013 by default to achieve that like class view or using ndepend cqlinq?
推荐答案
你可以写代码查询:
from m in Application.Methods
where m.IsExtensionMethod
select m
对于扩展组方法sby类型扩展的代码查询,请参阅:
获取类型列表受cqlinq中的扩展方法影响
For a code query that group extension method sby types extended see: Getting list of types that are effected by an extension method in cqlinq
这篇关于如何在VS2013中获取解决方案或项目中的扩展方法列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文