Possible Duplicates:
Getting all types that implement an interface with C# 3.5
How to find what class(es) implements an interface (.Net)
Is this possible in C# like it is Java?
If I have an interface name (IDataReader for arguments sake), how do I get a list of all classes that implement this?
In java this is listed in the API - Is this available in C#
If you use ReSharper, you can right click a class or method identifier and choose "Go to Inheritor" and it will bring up a list of all the implementations of the class or method.
Visual Studio doesn't have this functionality by default though. If you don't have ReSharper, you can do it by compiling your .dll's and analyzing them in Reflector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With