How to find what class(es) implements an interface (.Net)

前端 未结 2 867
情歌与酒
情歌与酒 2020-12-21 12:06

The closest I could find to this question was this one: Getting all types that implement an interface

But that is for use in code, and to use it I\'d have to change

2条回答
  •  暖寄归人
    2020-12-21 12:34

    Using ReSharper, right-click on the Interface, go to Implementation, choose the one you want to see from the list it populates.

    I don't think there's a way to do it programatically, but if you just mean in the IDE, this is the easiest way to do so.

提交回复
热议问题