如何轻松识别在Visual Studio中实现IDispose的类?(How do I easily identify classes that implement IDispose in Visua

编程入门 行业动态 更新时间:2024-10-28 20:17:31
如何轻松识别在Visual Studio中实现IDispose的类?(How do I easily identify classes that implement IDispose in Visual Studio?)

是否可以识别实现IDisposable的类? 我希望在Visual Studio Color设置或插件中这样做。

我没有使用Resharper,我听说FXcop有这个功能。 我正在寻找不同于这些选项的东西。

Is it possible to identify classes that implement IDisposable. I was hoping to do so in the Visual Studio Color settings or with an addon.

I don't use Resharper and I have heard that FXcop has this feature. I was looking for something different than these options.

最满意答案

您可以使用类视图和对象浏览器来确定它。 但是,定义是最好的想法,因为生成的MetaData将向您显示类的所有方法和继承

You can use the Class View and Object Browser to determine it. But going to the definition is the best idea as the MetaData generated will show you all the methods and the inheritance of the class

更多推荐

本文发布于:2023-07-15 05:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1110711.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:轻松   Studio   Visual   IDispose   implement

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!