Exemplo n.º 1
0
 public static OutputWindowPane BuildOutputPane(this OutputWindowPanes panes)
 => panes.Cast <OutputWindowPane>()
 .Where(pane => pane.Guid == VSConstants.OutputWindowPaneGuid.BuildOutputPane_string)
 .FirstOrDefault();
Exemplo n.º 2
0
 public static OutputWindowPane PaneByName(this OutputWindowPanes panes, string name)
 => panes.Cast <OutputWindowPane>()
 .Where(pane => pane.Name == name)
 .FirstOrDefault() ?? panes.Add(name);