Пример #1
0
 // --------------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="HierarchyProperty{T}"/> class.
 /// </summary>
 /// <param name="item">The item this property belongs to.</param>
 /// <param name="propId">The id of the property.</param>
 // --------------------------------------------------------------------------------------------
 public HierarchyProperty(HierarchyItem item, __VSHPROPID propId)
 {
     _Item   = item;
     _PropId = (int)propId;
 }
Пример #2
0
 // --------------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="HierarchyProperty{T}"/> class.
 /// </summary>
 /// <param name="item">The item this property belongs to.</param>
 /// <param name="propId">The id of the property.</param>
 // --------------------------------------------------------------------------------------------
 public HierarchyProperty(HierarchyItem item, int propId)
 {
     _Item   = item;
     _PropId = propId;
 }
Пример #3
0
 // --------------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="GuidProperty"/> class.
 /// </summary>
 /// <param name="item">The item this property belongs to.</param>
 /// <param name="propId">The id of the property.</param>
 // --------------------------------------------------------------------------------------------
 public GuidProperty(HierarchyItem item, int propId)
     : base(item, propId)
 {
 }
Пример #4
0
 // --------------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="GuidProperty"/> class.
 /// </summary>
 /// <param name="item">The item.</param>
 /// <param name="propId">The prop id.</param>
 // --------------------------------------------------------------------------------------------
 public GuidProperty(HierarchyItem item, __VSHPROPID propId)
     : base(item, propId)
 {
 }
Пример #5
0
 // --------------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="HandleProperty"/> class.
 /// </summary>
 /// <param name="item">The item this property belongs to.</param>
 /// <param name="propId">The id of the property.</param>
 // --------------------------------------------------------------------------------------------
 public HandleProperty(HierarchyItem item, int propId)
     : base(item, propId)
 {
 }