C# Class Scorchio.VisualStudio.Extensions.UIHierarchyExtensions

Defines the UIHierarchyExtensions type.
Afficher le fichier Open project: asudbury/NinjaCoderForMvvmCross

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

FindHierarchyItem() public static méthode

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