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