Always show parameters of memberfunctions

Nov 17, 2014 at 4:45 PM

I noticed that the generated documentaion only shows memberfunction parameters if there are multiple overloads. If there is just a single function.

i.e if I have a class
class Test
    void Foo(string str);
    void Foo(int number);
    void Bar(string str);
only the Foo is shown with full Parameter info on the Methods or Class page.
The paramaters of Bar are always hidden and the user Needs to click on the function specific page to see the Parameters.

Can the project be configured to always display the complete signature with parameters even if there are no overloads?

Nov 19, 2014 at 7:18 PM
The presentation style controls the topic titles. You can modify the XSL transformations to generate the same title for non-overloaded methods as for overloaded ones. You'd have to track down in the transformation where it's doing both and make them similar.

Please note that this project site has been discontinued and may not be monitored as frequently. For future questions or issues concerning Sandcastle or SHFB, post them over on the Sandcastle Help File Builder project's discussion page. Thanks.

Nov 20, 2014 at 9:26 AM
Thanks for the tip!
Greatly appreciated.