示例#1
0
 public static IEnumerable <Document> GetDocuments(this DTE2 environment)
 {
     ThreadHelper.ThrowIfNotOnUIThread();
     return(from w in environment.GetDocumentWindows() where w.Document != null select w.Document);
 }
示例#2
0
 public static IEnumerable <Document> GetDocuments(this DTE2 environment)
 {
     return(from w in environment.GetDocumentWindows() where w.Document != null select w.Document);
 }