sharpDox icon indicating copy to clipboard operation
sharpDox copied to clipboard

Hide private members should be a setting, not a tool

Open GeertvanHorrik opened this issue 9 years ago • 2 comments

I think that if VisibilitySettings.HidePrivateMembers is a setting (and thus can be determined dynamically), it works much better than using it as a tool (where clicking the button does the calculation of a moment in time).

What do you think?

GeertvanHorrik avatar May 18 '15 08:05 GeertvanHorrik

I see it's also stored as a property. Not sure why the need for explicitly writing the identifiers out is needed.

GeertvanHorrik avatar May 18 '15 08:05 GeertvanHorrik

In fact HidePrivateMembers is a property which gets checked during the parse step. They are included in the ExcludedIdentifiers property for the correct visualization in the UI at the moment. It is an old mechanism and could be replaced in the future.

geaz avatar May 18 '15 15:05 geaz