
I seem to run into a problem which I am not totally sure I've approached from the right angle in the first place.
There is document outline treeview in the main form example, which acts pretty much like the Object Browser in VS.NET IDE, the main treeview of Reflector etc.
I've played and tweaked bits and pieces of the original DocumentOutlineUpdater class (as a side note perhaps it isn't the best name, for outline imho more associates with collapsable regions) to display only members based on required access level.
But there is one thing which I got stuck on - how to show inherited members for the class.
For example:I want the DocumentOutlineUpdater to show (assuming showing only public and protected memebers)
I did find that there is a IDomType.GetMembers(IDomType[], string, DomBindingFlags) method which supposedly may be the one I'm after, but I have no idea what parameters are needed to be passed on.
So to wrap it up, have I chosen the right path at all? If not what would be the way to show the inherited members (fields/properties/whatever else maybe visible to descendants)?
An on top of that, (sorry for the lame question) what is the difference between TypeMemberDeclaration.AccessModifiers and TypeMemberDeclaration.Modifiers? The help topic is rather short and uninsightful...
Thank you
There is document outline treeview in the main form example, which acts pretty much like the Object Browser in VS.NET IDE, the main treeview of Reflector etc.
I've played and tweaked bits and pieces of the original DocumentOutlineUpdater class (as a side note perhaps it isn't the best name, for outline imho more associates with collapsable regions) to display only members based on required access level.
But there is one thing which I got stuck on - how to show inherited members for the class.
For example:
class A
{
protected int M1();
private void M2();
}
public class B : A
{
public void M3();
}
+ A
- M1()
+ B
- M1()
- M3()
So to wrap it up, have I chosen the right path at all? If not what would be the way to show the inherited members (fields/properties/whatever else maybe visible to descendants)?
An on top of that, (sorry for the lame question) what is the difference between TypeMemberDeclaration.AccessModifiers and TypeMemberDeclaration.Modifiers? The help topic is rather short and uninsightful...
Thank you