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