예제 #1
0
 /// <summary>
 /// Adapts a <see cref="ISolutionFolderNode"/> to an <see cref="IVsHierarchy"/>.
 /// </summary>
 /// <returns>The <see cref="IVsHierarchy"/> or <see langword="null"/> if conversion is not possible.</returns>
 public static IVsHierarchy AsVsHierarchy(this ISolutionFolderNode folder) => folder.As <IVsHierarchy>();
예제 #2
0
 /// <summary>
 /// Adapts a <see cref="ISolutionFolderNode"/> to an <see cref="IVsHierarchyItem"/>.
 /// </summary>
 /// <returns>The <see cref="IVsHierarchyItem"/> or <see langword="null"/> if conversion is not possible.</returns>
 public static IVsHierarchyItem AsVsHierarchyItem(this ISolutionFolderNode folder) => folder.As <IVsHierarchyItem>();