This project has moved. For the latest updates, please go here.

How to hide base class and show inherited members as regular members?

Jan 15, 2008 at 1:20 PM
Edited Jan 15, 2008 at 1:29 PM
Take a example:
public class Customer
public void Nothing();

public class GoldCustomer : Customer
public void NothingMuchEither();

I dont want Customer to appear in the documentation of GoldCustomer class and both Nothing and NothingMuchEither should be documented. Is that possible? I can hide Customer from APIFilter, but it will also hide Nothing method in GoldCustomer. Can that be avoided?
Jan 15, 2008 at 3:06 PM
No, if you remove the base class, it and all of its members are removed and you won't see them in derived classes unless they are overridden virtual methods.

Jan 15, 2008 at 6:29 PM
OK. But is there a way by which I can manually insert the definition of Nothing method in the help file as a method of the GoldCustomer class? Or even that cannot be done?
Jan 15, 2008 at 6:52 PM
Edited Jan 15, 2008 at 6:54 PM
No, if it's not in the reflection information generated off of the assembly, it won't show up in the help file as part of the class.

Jan 16, 2008 at 4:50 AM
OK. Thanks for all the help. :)