Example #1
0
 public ItemProperties(ItemNode item)
 {
     this.item = item.HierarchyNode.GetExtenderObject() as ProjectItem;
     node      = item.HierarchyNode;
     msBuild   = item.HierarchyNode.GetRoot().HierarchyIdentity.Hierarchy as IVsBuildPropertyStorage;
 }
 IDeletableNode IAdapter <ItemNode, IDeletableNode> .Adapt(ItemNode from) =>
 new DeletableProjectItemNode(from);
 IRemovableNode IAdapter <ItemNode, IRemovableNode> .Adapt(ItemNode from) =>
 new RemovableProjectItemNode(from);
Example #4
0
 public ItemProperties(ItemNode item)
 {
     this.item = item.HierarchyNode.GetExtenderObject() as ProjectItem;
     node      = item.HierarchyNode;
     msBuild   = item.OwningProject.AsVsBuildPropertyStorage();
 }