Browse Source

Added exception details to XML docs.

pull/2447/head
Steven Kirk 8 years ago
parent
commit
53e666ac90
  1. 6
      src/Avalonia.Controls/Window.cs

6
src/Avalonia.Controls/Window.cs

@ -371,6 +371,9 @@ namespace Avalonia.Controls
/// <summary> /// <summary>
/// Shows the window. /// Shows the window.
/// </summary> /// </summary>
/// <exception cref="InvalidOperationException">
/// The window has already been closed.
/// </exception>
public override void Show() public override void Show()
{ {
if (PlatformImpl == null) if (PlatformImpl == null)
@ -402,6 +405,9 @@ namespace Avalonia.Controls
/// Shows the window as a dialog. /// Shows the window as a dialog.
/// </summary> /// </summary>
/// <param name="owner">The dialog's owner window.</param> /// <param name="owner">The dialog's owner window.</param>
/// <exception cref="InvalidOperationException">
/// The window has already been closed.
/// </exception>
/// <returns> /// <returns>
/// A task that can be used to track the lifetime of the dialog. /// A task that can be used to track the lifetime of the dialog.
/// </returns> /// </returns>

Loading…
Cancel
Save