C# Class Scorchio.VisualStudio.Extensions.UIHierarchyExtensions

Defines the UIHierarchyExtensions type.
Datei anzeigen Open project: asudbury/NinjaCoderForMvvmCross

Public Methods

Method Description
FindHierarchyItem ( this instance, Project item ) : UIHierarchyItem

Finds the hierarchy item for the given item.

FindHierarchyItem ( this instance, ProjectItem item ) : UIHierarchyItem

FindHierarchyItem(EnvDTE.UIHierarchy,EnvDTE.Project)

Private Methods

Method Description
CreateItemHierarchy ( Stack itemHierarchy, object item ) : void

Creates recursively the hierarchy for the given item. Returns the complete hierarchy.

FindHierarchyItem ( UIHierarchy instance, object item ) : UIHierarchyItem

Finds the hierarchy item.

FindHierarchyItem ( UIHierarchyItems items, object item ) : UIHierarchyItem

Enumerating children recursive would work, but it may be slow on large solution. This tries to be smarter and faster

Method Details

FindHierarchyItem() public static method

Finds the hierarchy item for the given item.
public static FindHierarchyItem ( this instance, Project item ) : UIHierarchyItem
instance this The instance.
item Project The item.
return UIHierarchyItem

FindHierarchyItem() public static method

FindHierarchyItem(EnvDTE.UIHierarchy,EnvDTE.Project)
public static FindHierarchyItem ( this instance, ProjectItem item ) : UIHierarchyItem
instance this The instance.
item ProjectItem The item.
return UIHierarchyItem