Beispiel #1
0
 /// <summary>
 /// Gets an existing Visual Studio Output window pane (General, Build, Debug).
 /// If the General pane does not already exist then it will be created, but that is not the case
 /// for Build or Debug, in which case the method returns null if the pane doesn't already exist.
 /// </summary>
 /// <param name="pane">The Visual Studio pane to get.</param>
 /// <returns>A new OutputWindowPane or null.</returns>
 public Task <OutputWindowPane?> GetOutputWindowPaneAsync(VSOutputWindowPane pane) => OutputWindowPane.GetAsync(pane);
Beispiel #2
0
 /// <summary>
 /// Gets an existing Output window pane.
 /// Returns null if a pane with the specified guid does not exist.
 /// </summary>
 /// <param name="guid">The pane's unique identifier.</param>
 /// <returns>A new OutputWindowPane or null.</returns>
 public Task <OutputWindowPane?> GetOutputWindowPaneAsync(Guid guid) => OutputWindowPane.GetAsync(guid);
Beispiel #3
0
 /// <summary>
 /// Creates a new Output window pane with the given name.
 /// The pane can be created now or lazily upon the first write to it.
 /// </summary>
 /// <param name="name">The name (title) of the new pane.</param>
 /// <param name="lazyCreate">Whether to lazily create the pane upon first write.</param>
 /// <returns>A new OutputWindowPane.</returns>
 public Task <OutputWindowPane> CreateOutputWindowPaneAsync(string name, bool lazyCreate = true) => OutputWindowPane.CreateAsync(name, lazyCreate);