/// <summary>Enumerates the DTE2 windows Property</summary>
 /// <param name="windows">The DTE2 windows Property</param>
 /// <returns>An enumerable sequence of windows</returns>
 public static IEnumerable <Window> GetDocumentWindows(this Windows windows)
 {
     return(windows.Cast <Window>().Where(x => x.Linkable == false));
 }
Example #2
0
 public static IList <IWindowName> GetNames([NotNull] this Windows windows)
 {
     return(GetNames(windows.Cast <Window>().ToList()));
 }