dotPeek 2020.3 Help

Hierarchy window

Windows | Hierarchies
Inspect | Hierarchies

The Hierarchy window can display several types of hierarchical structures of your code:

Hierarchy of Types

This view displays the hierarchy of types that includes members and the list of all subtypes and supertypes of a particular type. You can analyze the hierarchy and navigate to the declaration of any type by double-clicking it.

dotPeek: Type hierarchy. members preview

Toolbar Controls

ControlNameDescription
ThemedIcon Refresh Screen Gray pngRefresh Updates window content to reflect any changes made in the code or externally.
ThemedIcon StatusAll Screen Gray pngAll Tests Show all tests in the current test session.
ThemedIcon Success Screen Gray pngPassed Tests Only show successful tests and hide all other tests.
ThemedIcon StatusFailedPassive Screen Gray pngFailed Tests Only show failed tests and hide all other tests.
ThemedIcon Ignore Screen Gray pngIgnored Tests Only show ignored tests and hide all other tests. A test is ignored if it has the corresponding attribute, or if the whole category where it belongs is ignored.
ThemedIcon Base Screen Gray pngBase on This A selected type becomes the root of the hierarchy tree and the tree is rebuilt accordingly. The new base type is highlighted with bold.
ThemedIcon ExpandAll Screen Gray png ThemedIcon CollapseAll Screen Gray pngExpand All/ Collapse All Expands/collapses all nodes in the current tab.
ThemedIcon Up Screen Gray png ThemedIcon Down Screen Gray pngPrevious/ Next
Shift+F8 / F8
Navigate to the previous/next item and scrolls through the source code accordingly.
ThemedIcon PreviewToggle Screen Gray pngShow Members Hides or shows the preview pane in the position specified using the list (at the bottom or in the right part of the window).
ThemedIcon Export Screen Gray pngExport Click this button to export the data currently displayed in the window in text format , or use the drop-down selector to export the data in XML or HTML format. The Export Data dialog that appears, will help you to save the data to a file or copy it to the clipboard .
ThemedIcon Hierarchy Screen Gray pngClass Hierarchy This tree shows all subtypes and supertypes of the center type. The center type can be located anywhere in the tree, not necessarily at the root. You can select a different center type using the Base on This button ThemedIcon Base Screen Gray png, and the tree will be rebuilt accordingly.
ThemedIcon Subtypes Screen Gray pngSubtypes Hierarchy This tree shows all subtypes of the center type. The center type is positioned at the root of the tree.
ThemedIcon Supertypes Screen Gray pngSupertypes Hierarchy This tree shows all supertypes of the center type in ascending order (each child node is the supertype of its parent). The center type is positioned at the root of the tree.
ThemedIcon ImplHierarchy Screen Gray pngImplementation Hierarchy This tree shows all descendants of the center type.
ThemedIcon LeafInterface Screen Gray pngInterface Leaves This tree shows leaves of the selected interface.
ThemedIcon ExcludeLibraryElement Screen Gray pngShow Elements From This Solution Hides symbols from external libraries.
ThemedIcon TypeLayoutAlt Screen Gray pngShow on Diagram Click this button to display all the types shown in the window in the type dependencies diagram view.
ThemedIcon Hierarchy Screen Gray pngReferenced Projects Click this button to display all project and assemblies referenced by the current project.
ThemedIcon Subtypes Screen Gray pngReferencing Projects Click this button to display all project that reference the current project. The hierarchy is shown in ascending order (each child node is the project that reference its parent). The current project is positioned at the root of the tree.
Group by Allows grouping items in the window by different categories.
ThemedIcon AllMembers Screen Gray pngAll Instance Members (preview pane) Displays all instance members in the preview pane.
ThemedIcon VirtualMembers Screen Gray pngOnly Polymorphic Members (preview pane) Restricts the preview pane to displaying only polymorphic members of the selected hierarchy node.

Type dependency diagram

The type dependency diagram view allows you to visually study dependencies between types in your solutions. You can add any number of types from different projects or compiled assemblies and visualize different kinds of dependencies between them. For more information, see Explore Type Dependency Diagram.

Type dependency diagram

Toolbar Controls

ControlNameDescription
ThemedIcon Refresh Screen Gray pngRefresh Updates window content to reflect any changes made in the code or externally.
ThemedIcon StatusAll Screen Gray pngAll Tests Show all tests in the current test session.
ThemedIcon Success Screen Gray pngPassed Tests Only show successful tests and hide all other tests.
ThemedIcon StatusFailedPassive Screen Gray pngFailed Tests Only show failed tests and hide all other tests.
ThemedIcon Ignore Screen Gray pngIgnored Tests Only show ignored tests and hide all other tests. A test is ignored if it has the corresponding attribute, or if the whole category where it belongs is ignored.
ThemedIcon Undo Screen Gray pngUndo Click this button to revert the changes in the view (adding and removing items) step by step.
ThemedIcon Redo Screen Gray pngRedo Click this button to revert the last Undo operation.
ThemedIcon Export Screen Gray pngExport to PNG Click this button to save the visible part of the diagram as a PNG image file.
ThemedIcon Filter Screen Gray pngFilter Dependencies With this drop-list, you can select what kinds of dependencies should be displayed between types on the diagram.

Assembly dependency diagram

The assembly dependency diagram helps you visually explore dependencies between compiled assemblies. For more information, see Explore Assembly Dependency Diagram.

dotPeek: Assembly diagram

Toolbar Controls

ControlNameDescription
ThemedIcon StatusAll Screen Gray pngAll Tests Show all tests in the current test session.
ThemedIcon Success Screen Gray pngPassed Tests Only show successful tests and hide all other tests.
ThemedIcon StatusFailedPassive Screen Gray pngFailed Tests Only show failed tests and hide all other tests.
ThemedIcon Ignore Screen Gray pngIgnored Tests Only show ignored tests and hide all other tests. A test is ignored if it has the corresponding attribute, or if the whole category where it belongs is ignored.
ThemedIcon Undo Screen Gray pngUndo Click this button to revert the changes in the view (adding and removing items) step by step.
ThemedIcon Redo Screen Gray pngRedo Click this button to revert the last Undo operation.
ThemedIcon Export Screen Gray pngExport to PNG Click this button to save the visible part of the diagram as a PNG image file.

Hierarchy of references

This view helps you explore hierarchy of references for any assembly and track down all assembly dependencies. Recursive dependencies are detected and marked with a glyph to the right of a reference entry. For more information, see Explore Hierarchy of References.

dotPeek: References hierarchy

Window tabs

When type or style hierarchies, or type dependency graphs open in the window, they are displayed in new tabs, which show up on the left. The previously open tabs move to the right if the width of the window allows, otherwise they unload themselves saving memory - but you can always restore them by clicking the arrow that appears to the right of the tabs and clicking the required tab:

Tool window tabs

To prevent a tab from unloading, click the pin icon ThemedIcon Pin Screen Gray png next to the tab title.

Last modified: 03 September 2020