有没有发现什么.NET类实现某个接口的方法吗? [英] Is there a way of finding what .NET classes implements a certain interface?
问题描述
例如,如果我想看看我的。NET的选择是对的东西实施的IList或IDictionary的。有没有办法找到例如MSDN文档中?
For example if I wanted to see what my .NET options were for something implementing IList or IDictionary. Is there a way to find that for example in the MSDN documentation?
推荐答案
要找到它在MSDN中,我通常会去谷歌,输入类似MSDN的IList,并获得到的 IList接口其中有一节即实现IList类。这适用于任何的接口类。
To find it in MSDN, I usually go to Google, type something like "MSDN IList", and to get to IList Interface which has a section "Classes that Implement IList". That's true for any of the interface classes.
如果你发现一个基类如的 DictionaryBase ,会有一个链接名为派生类的,将带你到一个树形显示的继承层次。
If you find a base class such as DictionaryBase, there will be a link called Derived Classes which will take you to a tree showing the inheritance hierarchy.
这篇关于有没有发现什么.NET类实现某个接口的方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!