Author Topic: C#, find derived classes  (Read 145 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2158
  • Hero Points: 191
  • Text
C#, find derived classes
« on: September 15, 2020, 04:19:34 pm »
Right-click on a class -> Show in symbol browser.
Right click on the class in the browser, Derived Classes...

In "Derived classes", under "PUBLIC" are listed 7 *functions*.
All of these functions are entries in the MyLibrary.XML file that the C# build generates.

It is not finding actual derived classes.
Why is it listing functions?


The XML looks like:

Code: [Select]
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Company.MyModule</name>
    </assembly>
    <members>
        <member name="T:Company.MyModule.NameInternalsOperationsStubImpl">
            <summary>
            Class representing the operations.
            </summary>
        </member>
        <member name="M:Company.MyModule.NameSimpleGroupOperationsStubImpl.CreateThing(System.String,System.Boolean,System.String,System.Boolean,System.Boolean,System.Boolean,System.String,System.String)">
            <summary>
            Create Thing for the simple group.
            </summary>
            <param name="api_version">The version of the api.</param>
            <param name="offline">Whether to only create the request</param>
            <param name="simpleGroupName">The simple group.</param>
            <param name="applyRetention">Apply retention to the Things created.</param>
            <param name="copyNow">Copy the Things immediately.</param>
            <param name="copy">Rt target.</param>
            <param name="suffix">Suffix for the Things.</param>
            <param name="operationID">Supplied by the caller to correlate multiple sub-operations.</param>
            <returns>The Thing.</returns>
        </member>

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3212
  • Hero Points: 459
Re: C#, find derived classes
« Reply #1 on: September 15, 2020, 10:02:44 pm »
The list on the right hand side of the "Derived Classes" tool window shows the members of the currently selected class, divided up into "PUBLIC", "PROTECTED", and "PRIVATE"

If there were no other classes listed in the tree control on the left hand side then either your class has no derived classes, SlickEdit could not find them or was interupted before it did.