How to get all methods for class that inherit from a particular type
<p>I have a whole bunch of class that inherit from a base class 'Port'</p>

<p>Does anyone know how to get all the public methods for all classes that inherit from 'Port'</p>

<p>I know I have to call the GetMethods method and you call this off a type.</p>

<p>I figure if I could somehow get a list of all the class inheriting from Port I could go something like:</p>

<p>(All types inheriting from port).SelectMany(x => x.GetMethods());</p>

<p>Can anyone help here?</p>
